Page 1 of 1

Impulse direction

Posted: Fri Dec 13, 2013 10:07 am
by phinwone
Hello!
There are two models, one is rotated and the second is satellite of the first model and rotates with it. The first model has its own local coordinates, I got Convex from satellite model but the problem is that I can not pass these coordinates in ConvexHull.LinearVelocity and i getting always world.Z instead local.Z

Re: Impulse direction

Posted: Fri Dec 13, 2013 7:11 pm
by Norbo
If you want to move a direction from local space into world space, transform the direction by the world transform's rotation (assuming the transform is rigid).