R3d.SliderJoint
From GiderosMobile
Available since: Gideros 2019.10
Class: R3d.Joint
Description
The SliderJoint class describes a slider joint (or prismatic joint) that only allows relative translation along a single direction. It has a single degree of freedom and allows no relative rotation.
In order to create a slider joint, you first need to specify the anchor point (in world-space) and the slider axis direction (in world-space). The constructor of the SliderJointInfo object needs two pointers to the bodies of the joint, the anchor point and the axis direction.
Note that the two bodies have to be in a correct initial position when the joint is created.
r3d.SliderJoint
Parameters
Example