Click or drag to resize

PhysicsRigidBodyLocalCenterOfMassOffset Property

The center of mass offset in local space.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public Vector3 LocalCenterOfMassOffset { get; set; }

Property Value

Type: Vector3
Remarks
The physics engine may automatically determine the LocalCenterOfMass. However, to do this it makes certain assumptions (such as uniform density) that may not be valid. You can adjust the physics-engine-caclulated center of mass by setting this property.
See Also