Rotate physics body x axis toward target location

anonymous_user_99d68798
Sat, 07 May 2016 00:48:25 +0000
Character & Animation

Hi!
I have a physicsbody, who’s x-axis i would like to point towards a target location. However, just setting the rotation is not what i’m after, rather i’d like to use torque to rotate the physicsbody (in a gravity-less enviroment).

So far, i have not found a way to do this, the way torque is set up in conjunction with rotators/vectors conversion i’m simply stumped, anyone have any idea how to achieve this? I’d thought i had nailed down how rotators worked but this to me is simply to many steps to wrap my head around.

1 post - 1 participant