From c8e09fd794a35ddd9f69842ffca24e9f204c014c Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Mon, 9 May 2011 09:26:08 +0000 Subject: [PATCH] Bullet Native: - small fix in SixDofJoint (thanks to chototsu) git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/bullet/native/com_jme3_bullet_joints_SixDofJoint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/bullet/native/com_jme3_bullet_joints_SixDofJoint.cpp b/engine/src/bullet/native/com_jme3_bullet_joints_SixDofJoint.cpp index ad936ae8b..51a76c0ae 100644 --- a/engine/src/bullet/native/com_jme3_bullet_joints_SixDofJoint.cpp +++ b/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); } /*