motorTargetLinearVelocity
The velocity at which the joint’s connected bodies should slide.
Declaration
var motorTargetLinearVelocity: CGFloat { get set }Discussion
At the default value of 0.0, the joint moves only when an external force acts on one of its connected bodies. Changing this value causes the joint to act as a linear motor, continuously applying a force (specified by the motorMaximumForce property) until its connected bodies are moving along the sliding axis of the joint at the new velocity.