Table of Contents

Struct JointFrame2D

Namespace
Gravitas.Constraints
Assembly
Gravitas.dll

Immutable local anchor frame used by a pure 2D joint.

public readonly struct JointFrame2D
Inherited Members

Constructors

JointFrame2D(Vector2d, Fixed64)

Creates a local planar joint frame.

public JointFrame2D(Vector2d anchor, Fixed64 angle)

Parameters

anchor Vector2d
angle Fixed64

Properties

Anchor

Gets the body-local anchor point in the X/Z simulation plane.

public Vector2d Anchor { get; }

Property Value

Vector2d

Angle

Gets the body-local scalar frame angle in radians.

public Fixed64 Angle { get; }

Property Value

Fixed64

Identity

Gets the identity local frame.

public static JointFrame2D Identity { get; }

Property Value

JointFrame2D