Find Look at Rotation is not working properly.

I want to find the angle between the two Actor positions, but even though they are moving together, the angle changes.

Start is Cube and Target is Camera.
How do I get the relative angles of the Cube and Camera regardless of which direction they are facing?

The relative rotation is the same, but since the cube (and therefor the system) rotates, the absolute rotation is different. Since FindLookAtRotation only uses location, it provides absolute rotation.

Notice how you have actually rotated throughout the clip. At the start you’re looking to the left of that wall, and by the end you’re looking to the left of a wall perpendicular to the first. This wouldn’t be possible if you hadn’t rotated.

1 Like

A Halloween avatar! :ghost:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.