Bullet Native:
- fix infinite loop bug in PhysicsRigidBody.getGravity() git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7465 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
deae399075
commit
dd1ccc7ed2
@ -341,7 +341,7 @@ public class PhysicsRigidBody extends PhysicsCollisionObject {
|
||||
if (gravity == null) {
|
||||
gravity = new Vector3f();
|
||||
}
|
||||
getGravity(gravity);
|
||||
getGravity(objectId, gravity);
|
||||
return gravity;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user