relpos is relative to the rigidbody, but what about impulse force vector, relative to object right?
I've used physx and many other physics engines and have not seen this strange behaviour, I have a test a cube size (1,1,1), sitting on a plane at world position (0,0.5,0) ,now if i do
Code: Select all
impulse = (0,1,0); // UpVector of Box
relPos = (0,0,-0.5); //Back of Box
applyImpulse(impulse,relPos); Cheers.