I am having a nightmare trying to make a child object rotate towards a given point of its parent object, similar to what is possible at the world level when using LookAt.
The problem is that most functions related to rotating in Unity do not work for local level. In the description of function
transform.Rotate one can have the impression that it allows that, trough passing the
Space.Self parameter. However, to use that function one has to know the 3 angles between the 2 points of interest. And there is no function that allows such calculation.
Anyone could please help implementing a local LookAt?