Contents

SKPhysicsJointSpring

A joint that simulates a spring connecting two physics bodies.

Declaration

class SKPhysicsJointSpring

Mentioned in

Overview

An SKPhysicsJointSpring object simulates connecting two physics bodies together with a spring. The farther the two objects move from each other, the more force is applied to bring the two bodies back together.

Topics

First Steps

Creating a Spring Joint

Configuring a Spring Joint

See Also

Physics Joints