BulletSim: move center of gravity of linkset to its geometric center.

Necessitated allowing simulator and physical position of a body to
get out of sync since Bullet assumes that <0,0,0> is the center of mass.
Update DLLs and SOs for the UpdateChildTransform so positions of
  individual prim in a linkset can be implemented.
This commit is contained in:
Robert Adams
2013-01-11 16:36:34 -08:00
parent eacc2561d1
commit 459fcd81c9
14 changed files with 106 additions and 32 deletions

View File

@@ -906,7 +906,7 @@ public sealed class BSShapeCollection : IDisposable
}
}
// While we figure out the real problem, stick a simple native shape on the object.
// While we figure out the real problem, stick in a simple box for the object.
BulletShape fillinShape =
BuildPhysicalNativeShape(prim, BSPhysicsShapeType.SHAPE_BOX, FixedShapeKey.KEY_BOX);