Struct JointFrame3D
- Namespace
- Gravitas.Constraints
- Assembly
- Gravitas.dll
Immutable local anchor frame used by a 3D joint.
public readonly struct JointFrame3D
- Inherited Members
Constructors
JointFrame3D(Vector3d, FixedQuaternion)
Creates a local joint frame.
public JointFrame3D(Vector3d position, FixedQuaternion rotation)
Parameters
positionVector3drotationFixedQuaternion
Properties
Position
Gets the local anchor position relative to the linked body.
public Vector3d Position { get; }
Property Value
- Vector3d
Rotation
Gets the local anchor orientation relative to the linked body.
public FixedQuaternion Rotation { get; }
Property Value
- FixedQuaternion