diff options
author | Justin Clark-Casey (justincc) | 2012-09-08 00:17:57 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-08 00:17:57 +0100 |
commit | fa3edcf55c941811220d7502e1fcf1025ed85f79 (patch) | |
tree | b72f8ee5e843bcfac3623ea1c043b5b05434f55c /OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs | |
parent | 4096 is used in various places as the maximum height of a region, refactoring... (diff) | |
parent | BulletSim: update the DLLs and SOs (diff) | |
download | opensim-SC_OLD-fa3edcf55c941811220d7502e1fcf1025ed85f79.zip opensim-SC_OLD-fa3edcf55c941811220d7502e1fcf1025ed85f79.tar.gz opensim-SC_OLD-fa3edcf55c941811220d7502e1fcf1025ed85f79.tar.bz2 opensim-SC_OLD-fa3edcf55c941811220d7502e1fcf1025ed85f79.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs b/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs index d9270d1..2e15ced 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs | |||
@@ -98,6 +98,10 @@ public abstract class BSConstraint : IDisposable | |||
98 | { | 98 | { |
99 | // m_world.scene.PhysicsLogging.Write("{0},BSConstraint.RecomputeConstraintVariables,taint,enabling,A={1},B={2}", | 99 | // m_world.scene.PhysicsLogging.Write("{0},BSConstraint.RecomputeConstraintVariables,taint,enabling,A={1},B={2}", |
100 | // BSScene.DetailLogZero, Body1.ID, Body2.ID); | 100 | // BSScene.DetailLogZero, Body1.ID, Body2.ID); |
101 | |||
102 | // Setting an object's mass to zero (making it static like when it's selected) | ||
103 | // automatically disables the constraints. | ||
104 | // If enabled, be sure to set the constraint itself to enabled. | ||
101 | BulletSimAPI.SetConstraintEnable2(m_constraint.Ptr, m_world.scene.NumericBool(true)); | 105 | BulletSimAPI.SetConstraintEnable2(m_constraint.Ptr, m_world.scene.NumericBool(true)); |
102 | } | 106 | } |
103 | else | 107 | else |