ProtoTwin API
    Preparing search index...

    Class KinematicLink

    Kinematic Link. Represents a collection of bodies fixed together rigidly.

    Index

    Accessors

    • get grounded(): boolean

      Whether the link is grounded, representing the root of the mechanism.

      Returns boolean

    • set grounded(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get movable(): boolean

      Whether the link is movable, despite being grounded.

      Returns boolean

      Allows grounded links to be moved during the simulation, which is useful for mechanisms mounted on vehicles.

    • set movable(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get position(): IVec3

      The local position.

      Returns IVec3

    • set position(value: IVec3): void

      Parameters

      Returns void

    • get rotation(): IQuat

      The local rotation.

      Returns IQuat

    • set rotation(value: IQuat): void

      Parameters

      Returns void