aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs
diff options
context:
space:
mode:
authorRobert Adams2012-09-06 08:05:53 -0700
committerRobert Adams2012-09-07 16:05:22 -0700
commit3c097cb7a9634f711fffb56c0a6912487694aa53 (patch)
treefc18a6ca04d1e9e751c9a425ff0b3adc84e4d941 /OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs
parentBulletSim: PhysicsActorType() now returns the correct value rather than 'unkn... (diff)
downloadopensim-SC_OLD-3c097cb7a9634f711fffb56c0a6912487694aa53.zip
opensim-SC_OLD-3c097cb7a9634f711fffb56c0a6912487694aa53.tar.gz
opensim-SC_OLD-3c097cb7a9634f711fffb56c0a6912487694aa53.tar.bz2
opensim-SC_OLD-3c097cb7a9634f711fffb56c0a6912487694aa53.tar.xz
BulletSim: Add some comments (gasp) and log messages.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs4
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