Bullet Native:

- small fix in SixDofJoint (thanks to chototsu)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent a28c2622d9
commit c8e09fd794
  1. 4
      engine/src/bullet/native/com_jme3_bullet_joints_SixDofJoint.cpp

@ -85,7 +85,7 @@ extern "C" {
btGeneric6DofConstraint* joint = (btGeneric6DofConstraint*) jointId;
btVector3* vec = &btVector3();
jmeBulletUtil::convert(env, vector, vec);
joint->setLinearUpperLimit(*vec);
joint->setLinearLowerLimit(*vec);
}
/*
@ -98,7 +98,7 @@ extern "C" {
btGeneric6DofConstraint* joint = (btGeneric6DofConstraint*) jointId;
btVector3* vec = &btVector3();
jmeBulletUtil::convert(env, vector, vec);
joint->setLinearUpperLimit(*vec);
joint->setAngularUpperLimit(*vec);
}
/*

Loading…
Cancel
Save