Protected bodyProtected rawThe position of the second anchor of this joint.
The second anchor gives the position of the application point on the local frame of the second rigid-body it is attached to.
Optional target: VectorThe object to be populated. If provided, the function returns this object instead of creating a new one.
Configures the motor of the given angular axis with both an angle and an angular-velocity target.
The angular axis (JointAxis.AngX/AngY/AngZ) to configure.
The target angle along the axis, in radians.
The target angular velocity along the axis, in radians per second.
The spring-like stiffness used to reach the target angle.
The damping applied to the axis' angular velocity.
Sets the motor model of one of this joint's angular axes.
The angular axis (JointAxis.AngX/AngY/AngZ) to configure.
The motor model to apply to that axis.
Makes the motor of the given angular axis target a specific angle.
The angular axis (JointAxis.AngX/AngY/AngZ) to configure.
The target angle along the axis, in radians.
The spring-like stiffness used to reach the target angle.
The damping applied to the axis' angular velocity.
Makes the motor of the given angular axis target a specific angular velocity.
The angular axis (JointAxis.AngX/AngY/AngZ) to configure.
The target angular velocity along the axis, in radians per second.
The strength used to reach the target velocity (a damping coefficient).
Internal Sets the position of the first anchor of this joint.
The first anchor gives the position of the application point on the local frame of the first rigid-body it is attached to.
Sets the position of the second anchor of this joint.
The second anchor gives the position of the application point on the local frame of the second rigid-body it is attached to.
Sets the rotation quaternion that aligns this joint's first local axis to the x axis.
Sets the rotation quaternion that aligns this joint's second local axis to the x axis.
Sets the maximum force/torque the motor of the given angular axis can deliver.
The angular axis (JointAxis.AngX/AngY/AngZ) to configure.
The maximum torque the axis motor can deliver.
Static new
The position of the first anchor of this joint.
The first anchor gives the position of the application point on the local frame of the first rigid-body it is attached to.