Click or drag to resize
DigitalRuneRigidBodyPoseCenterOfMass Property
Gets or sets the pose (position and orientation) of the center of mass.

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public Pose PoseCenterOfMass { get; set; }

Property Value

Type: Pose
The pose (position and orientation) of the center of mass.
Remarks

This center of mass is relative to the origin of the local space of the body and is defined in the MassFrame. The property PoseCenterOfMass describes the pose of the center of mass in world space - not in local space. Changing this property automatically updates Pose and vice versa. Changing this property moves the whole body in the world - it does not shift the center of mass inside body.

Changing this property raises the PoseChanged event.

See Also