Math help in rotation

So I made a ‘spotlight’ BP

image

You can see the base pivot is wrong.

So I put a scene in with X point in the world X direction

and now I can ‘hitch’ the base on that

Which means I can use the node to point the base in the correct direction.

I also hooked the light on the base

image

SL2

( works the same with relative rotation )

1 Like