diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs b/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs index 1966395..fbb9e21 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs | |||
@@ -48,14 +48,6 @@ public class BSConstraint : IDisposable | |||
48 | m_world = world; | 48 | m_world = world; |
49 | m_body1 = obj1; | 49 | m_body1 = obj1; |
50 | m_body2 = obj2; | 50 | m_body2 = obj2; |
51 | /* | ||
52 | BulletSimAPI.AddConstraint(world.ID, m_body1.ID, m_body2.ID, | ||
53 | frame1, frame1rot, | ||
54 | frame2, frame2rot, | ||
55 | linearLow, linearHigh, | ||
56 | angularLow, angularHigh | ||
57 | ); | ||
58 | */ | ||
59 | m_constraint = new BulletConstraint(BulletSimAPI.CreateConstraint2(m_world.Ptr, m_body1.Ptr, m_body2.Ptr, | 51 | m_constraint = new BulletConstraint(BulletSimAPI.CreateConstraint2(m_world.Ptr, m_body1.Ptr, m_body2.Ptr, |
60 | frame1, frame1rot, | 52 | frame1, frame1rot, |
61 | frame2, frame2rot)); | 53 | frame2, frame2rot)); |