diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs b/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs index 683bc51..ff271fe 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs | |||
@@ -44,7 +44,7 @@ public class BS6DofConstraint : BSConstraint | |||
44 | m_body1 = obj1; | 44 | m_body1 = obj1; |
45 | m_body2 = obj2; | 45 | m_body2 = obj2; |
46 | m_constraint = new BulletConstraint( | 46 | m_constraint = new BulletConstraint( |
47 | BulletSimAPI.Create6DofConstraint2(m_world.Ptr, m_body1.Ptr, m_body2.Ptr, | 47 | BulletSimAPI.Create6DofConstraint2(m_world.ptr, m_body1.ptr, m_body2.ptr, |
48 | frame1, frame1rot, | 48 | frame1, frame1rot, |
49 | frame2, frame2rot, | 49 | frame2, frame2rot, |
50 | useLinearReferenceFrameA, disableCollisionsBetweenLinkedBodies)); | 50 | useLinearReferenceFrameA, disableCollisionsBetweenLinkedBodies)); |
@@ -59,7 +59,7 @@ public class BS6DofConstraint : BSConstraint | |||
59 | m_body1 = obj1; | 59 | m_body1 = obj1; |
60 | m_body2 = obj2; | 60 | m_body2 = obj2; |
61 | m_constraint = new BulletConstraint( | 61 | m_constraint = new BulletConstraint( |
62 | BulletSimAPI.Create6DofConstraintToPoint2(m_world.Ptr, m_body1.Ptr, m_body2.Ptr, | 62 | BulletSimAPI.Create6DofConstraintToPoint2(m_world.ptr, m_body1.ptr, m_body2.ptr, |
63 | joinPoint, | 63 | joinPoint, |
64 | useLinearReferenceFrameA, disableCollisionsBetweenLinkedBodies)); | 64 | useLinearReferenceFrameA, disableCollisionsBetweenLinkedBodies)); |
65 | m_enabled = true; | 65 | m_enabled = true; |