Find Look at Rotation uses Front Side as Base, how to change to Top Side?

The “Find Look at Rotation” node works perfectly for my “Object A” to rotate towards “Object B”. However, the side facing “Object B” is the front side of “Object A”. Would it be possible to adjust this so that the top side of this “Object A” faces “Object B”?

I’ve tried countless ideas and still can’t figure it out.

Rotation value “Object A” should be: X=0, Y=0, Z=0.
Rotation value that “Object A” is returning with “FindLookatRotation”: X=180, Y=90, Z=0.
“Object B” is located exactly above “Object A” at a certain distance.

Would anyone have a tip?

Sincerely, HighRender.

Facing always uses the X ( forward ) vector in the engine. Instead of doing lots of horrible maths, it’s much easier to just rotate the pivot so that X points upwards :slight_smile:

Thank you for the answer.

Interesting point of view. Unfortunately, my mesh is the root of the blueprint.

I apologize if my next question appear to be inconsistent: How can I rotate the pivot of my mesh? (In the past I never needed to know about this, lol)
One more question: If exists a math for this, where can I find how to do this calculation?

I’m sorry, the notification of your reply didn’t appeared in my email.

Sincerely, HighRender.

1 Like

You can add a new scene to the BP ( scene component ), and then make that the root instead.

You can change the pivot using the geometry tools ( Shift 5 ), or a plugin like ‘pivot tool’, or using Blender.

There will be maths, but I wouldn’t recommend that, as the engine is totally geared to use X as forward. It might be quite simple maths, but further down the road, you’ll probably wish you hadn’t done it :slight_smile:

There are no more email notifications now… :slight_smile:

1 Like

Thank you very much for the reply.

I’ll follow your tips. I would like to add a little comment here: I like some challenges, but not all of them. lol

Thank you for the advise regarding the email notifications. I was missing this information.

Sincerely, HighRender.

1 Like