ProtoTwin API
    Preparing search index...

    Enumeration Constraint

    The type of constraint for a physics joint.

    Index

    Enumeration Members

    Fixed: 4

    Fixed joint.

    Locks translation and rotation. Avoid where possible, as this is computationally expensive and any residual in the solver will cause the bodies to become separated. Prefer reparenting one entity to another.

    None: 0

    No joint.

    Joints must not be created with this type. This is sometimes used to signal an error.

    Path: 5

    Path joint.

    Constrains the rigid body such that it is only permitted to move along a path relative to the base.

    Prismatic: 1

    Prismatic (slider) joint.

    Locks rotation and limits translation to along a linear axis.

    Revolute: 2

    Revolute (hinge) joint.

    Locks translation and limits rotation to about a single axis.

    Spherical: 3

    Spherical (ball-and-socket) joint.

    Locks translation but allows rotation about all three axes.