mirror of
https://github.com/opensim/opensim.git
synced 2026-08-15 02:02:52 +08:00
BulletSim: temporarily disable banking and direction deflection
because the computations are wrong. Add VehicleTorqueImpulse routines.
This commit is contained in:
@@ -195,8 +195,11 @@ public sealed class BSLinksetCompound : BSLinkset
|
||||
&& PhysicsScene.TerrainManager.IsWithinKnownTerrain(LinksetRoot.RawPosition))
|
||||
{
|
||||
// TODO: replace this with are calculation of the child prim's orientation and pos.
|
||||
updated.LinksetInfo = null;
|
||||
ScheduleRebuild(updated);
|
||||
// TODO: for the moment, don't rebuild the compound shape.
|
||||
// This is often just the car turning its wheels. When we can just reorient the one
|
||||
// member shape of the compound shape, the overhead of rebuilding won't be a problem.
|
||||
// updated.LinksetInfo = null;
|
||||
// ScheduleRebuild(updated);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user