dBodyGetRelPointVel

I’ve no idea how to GetRelPointVel in javaode.

hints?

this method doesn’t appear to have a high level api analog, and I’m not able to properly cast to the required types without crashing the server. Thought I’d just ask if anyone had a sample code block.

I could just use the body’s rotation/linear velocity, but i thought I’d try the built-in method first.

additionally, when i try to compute the friction direction vector by hand, i’m having really weird results. Are getAngularVel and getLinearVel in body coords or world coords? Does contact.setFdir1 expect body coords or world coords?

Seems like both should be world coords, but i’ve been mistaken before.

:j

and the units for getAngularVel() ?

radians / step ?