Finding the object's current velocity vector
-
teh1ghool
- Posts: 3
- Joined: Tue Feb 16, 2010 8:53 pm
Finding the object's current velocity vector
How might I find the current velocity vector regardless of the orientation?
-
teh1ghool
- Posts: 3
- Joined: Tue Feb 16, 2010 8:53 pm
Re: Finding the object's current velocity vector
Bump... Slight hurry?
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Finding the object's current velocity vector
body->getLinearVelocity() returns the velocity in world space.
Thanks,
Erwin
Thanks,
Erwin
-
teh1ghool
- Posts: 3
- Joined: Tue Feb 16, 2010 8:53 pm
Re: Finding the object's current velocity vector
Thanks,
I realized how stupid I was earlier today. This was rather obvious.
~Ryan
I realized how stupid I was earlier today. This was rather obvious.
~Ryan