diff options
author | Robert Adams | 2013-01-15 02:58:14 -0800 |
---|---|---|
committer | Robert Adams | 2013-01-15 02:58:14 -0800 |
commit | 181d4c6fcbf1560fcf100b5a6ec98d15ad2fe5cc (patch) | |
tree | 131316733d6d98effa4dfb67450eee9d9662448c /OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs | |
parent | BulletSim: fix logic for enabling unmanaged code debug messages. (diff) | |
download | opensim-SC_OLD-181d4c6fcbf1560fcf100b5a6ec98d15ad2fe5cc.zip opensim-SC_OLD-181d4c6fcbf1560fcf100b5a6ec98d15ad2fe5cc.tar.gz opensim-SC_OLD-181d4c6fcbf1560fcf100b5a6ec98d15ad2fe5cc.tar.bz2 opensim-SC_OLD-181d4c6fcbf1560fcf100b5a6ec98d15ad2fe5cc.tar.xz |
BulletSim: temporarily disable banking and direction deflection
because the computations are wrong.
Add VehicleTorqueImpulse routines.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs index 5a1b5c7..2dc89b5 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs | |||
@@ -195,8 +195,11 @@ public sealed class BSLinksetCompound : BSLinkset | |||
195 | && PhysicsScene.TerrainManager.IsWithinKnownTerrain(LinksetRoot.RawPosition)) | 195 | && PhysicsScene.TerrainManager.IsWithinKnownTerrain(LinksetRoot.RawPosition)) |
196 | { | 196 | { |
197 | // TODO: replace this with are calculation of the child prim's orientation and pos. | 197 | // TODO: replace this with are calculation of the child prim's orientation and pos. |
198 | updated.LinksetInfo = null; | 198 | // TODO: for the moment, don't rebuild the compound shape. |
199 | ScheduleRebuild(updated); | 199 | // This is often just the car turning its wheels. When we can just reorient the one |
200 | // member shape of the compound shape, the overhead of rebuilding won't be a problem. | ||
201 | // updated.LinksetInfo = null; | ||
202 | // ScheduleRebuild(updated); | ||
200 | } | 203 | } |
201 | } | 204 | } |
202 | 205 | ||