Discover Learn Reference Get OpenPLX Search Contact

MachineModeling/Connections/Properties

AxialRotationLock

trait AxialRotationLock:
    .doc: """
        Adds a torsional spring that locks rotation about the main_axis of
        the direction_connector using a matching connector on the attached
        body.
    """
    direction_connector is Physics3D.Interactions.MateConnector reference
    attached_connector is Physics3D.Interactions.MateConnector reference

    axial_rotation_lock is Physics3D.Interactions.TorsionSpring:
        connectors: [direction_connector, attached_connector]
        angle: 0.0

OpenPLX is a work in progress. This draft version will evolve with user feedback and experience. We welcome your input and collaboration.
X