Rotate an object (actor) around an arbitrary point (axis)

Hi all,

So I am trying to rotate an actor around an arbitrary point (it cannot be pre-made as it changes dependent on what it’s associated with.

the axis is defined by 2 other points in space and is not necessarily related to any world UP/RIGHT/FORWARD direction.

I cannot work out how to do it…

1 Like

Will the axis always pass through the pivot point of the actor, or are we talking about rotating around a distant axis somewhere?

The solution i landed on was to child the object to an invisible primitive (cube) at the point of rotation and then just did a local rotate on the parent… works a treat

1 Like

Yes, that would work :slight_smile:

Usually when I recommend that sort of thing, people say ‘No thanks, I want to suffer, and use a lot of vector maths!’ :rofl: