Class

SKPhysicsJointFixed

A joint that fuses two physics bodies together at a reference point.

Declaration

@interface SKPhysicsJointFixed : SKPhysicsJoint

Overview

An SKPhysicsJointFixed object fuses two physics bodies together at a reference point. Fixed joints are useful for creating complex shapes that can be broken apart later.

Topics

Creating a Fixed Joint

+ jointWithBodyA:bodyB:anchor:

Creates a new fixed joint.

Relationships

Inherits From

See Also

Physics Joints

Working with Inverse Kinematics

Gain fine-tuned control of objects that are connected by joints.

SKPhysicsJoint

The abstract superclass for objects that connect physics bodies.

SKPhysicsJointLimit

A joint that imposes a maximum distance between two physics bodies, as if they were connected by a rope.

SKPhysicsJointPin

A joint that pins together two physics bodies, allowing independent rotation.

SKPhysicsJointSliding

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

SKPhysicsJointSpring

A joint that simulates a spring connecting two physics bodies.