BulletSim: improvements to LinksetCompound and PrimDisplaced. Not all working yet.

This commit is contained in:
Robert Adams
2013-04-30 11:42:11 -07:00
parent d322625f90
commit 7cdb07b386
5 changed files with 50 additions and 17 deletions

View File

@@ -259,7 +259,8 @@ public abstract class BSPhysObject : PhysicsActor
// The user can optionally set the center of mass. The user's setting will override any
// computed center-of-mass (like in linksets).
public OMV.Vector3? UserSetCenterOfMass { get; set; }
// Note this is a displacement from the root's coordinates. Zero means use the root prim as center-of-mass.
public OMV.Vector3? UserSetCenterOfMassDisplacement { get; set; }
public OMV.Vector3 LockedAxis { get; set; } // zero means locked. one means free.
public readonly OMV.Vector3 LockedAxisFree = new OMV.Vector3(1f, 1f, 1f); // All axis are free