Rotate component in it's local space toward a point in world

Rotate component in it’s local space toward a point in world

See if this is what you’re looking for:

You must transform direction to / from local space. Ignore the interps and clamps, ofc. It’s a bit dated, today I’d at least slerp directions.

2 Likes