Impulse direction

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
phinwone
Posts: 8
Joined: Sun Sep 08, 2013 2:18 pm

Impulse direction

Post 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
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Impulse direction

Post 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).
Post Reply