aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
diff options
context:
space:
mode:
authorRobert Adams2013-01-23 14:21:52 -0800
committerRobert Adams2013-01-23 14:25:42 -0800
commita7b810ddeebda8b13af3ab9fbeb24bef1a8094c6 (patch)
treee3f9b4f03f712dc63a4aefc5ac389f9b1c36ed8d /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
parentBulletSim: small change to center-of-mass computation left out last commit (diff)
downloadopensim-SC-a7b810ddeebda8b13af3ab9fbeb24bef1a8094c6.zip
opensim-SC-a7b810ddeebda8b13af3ab9fbeb24bef1a8094c6.tar.gz
opensim-SC-a7b810ddeebda8b13af3ab9fbeb24bef1a8094c6.tar.bz2
opensim-SC-a7b810ddeebda8b13af3ab9fbeb24bef1a8094c6.tar.xz
BulletSim: remove setting of vehicle InterpolationRotationalVelocity.
This doesn't seem to help the vehicle stability. Rename vehicle internal variables adding a "V" or "W" so it is clear when coordinates are vehicle or world relative.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
index 731ab7b..f80084a 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
@@ -1619,7 +1619,7 @@ public sealed class BSPrim : BSPhysObject
1619 // entprop.RotationalVelocity = OMV.Vector3.Zero; 1619 // entprop.RotationalVelocity = OMV.Vector3.Zero;
1620 } 1620 }
1621 1621
1622 DetailLog("{0},BSPrim.UpdateProperties,entry,entprop={1}", LocalID, entprop); // DEBUG DEBUG 1622 // DetailLog("{0},BSPrim.UpdateProperties,entry,entprop={1}", LocalID, entprop); // DEBUG DEBUG
1623 1623
1624 // Undo any center-of-mass displacement that might have been done. 1624 // Undo any center-of-mass displacement that might have been done.
1625 if (PositionDisplacement != OMV.Vector3.Zero) 1625 if (PositionDisplacement != OMV.Vector3.Zero)
@@ -1636,7 +1636,7 @@ public sealed class BSPrim : BSPhysObject
1636 _acceleration = entprop.Acceleration; 1636 _acceleration = entprop.Acceleration;
1637 _rotationalVelocity = entprop.RotationalVelocity; 1637 _rotationalVelocity = entprop.RotationalVelocity;
1638 1638
1639 DetailLog("{0},BSPrim.UpdateProperties,afterAssign,entprop={1}", LocalID, entprop); // DEBUG DEBUG 1639 // DetailLog("{0},BSPrim.UpdateProperties,afterAssign,entprop={1}", LocalID, entprop); // DEBUG DEBUG
1640 1640
1641 // The sanity check can change the velocity and/or position. 1641 // The sanity check can change the velocity and/or position.
1642 if (IsPhysical && PositionSanityCheck(true)) 1642 if (IsPhysical && PositionSanityCheck(true))