Contents

SKPhysicsJointSliding

A joint that allows two physics bodies to slide along an axis.

Declaration

class SKPhysicsJointSliding

Overview

An SKPhysicsJointSliding object allows the anchor points of the two physics bodies to slide along a chosen axis. The joint can be configured to limit the distance that the two objects are allowed to slide along the axis.

Topics

Creating a Sliding Joint

Configuring a Sliding Joint

See Also

Physics Joints