Instance Property

lowerAngleLimit

The smallest angle allowed for the pin joint, in radians.

Declaration

var lowerAngleLimit: CGFloat { get set }

Discussion

The default value is 0.0.

See Also

Configuring a Pin Joint

var rotationSpeed: CGFloat

The speed, in radians per second, at which the physics bodies are driven around the pin joint.

var shouldEnableLimits: Bool

A Boolean value that indicates whether the pin joint’s rotation is limited to a specific range of values.

var upperAngleLimit: CGFloat

The largest angle allowed for the pin joint, in radians.

var frictionTorque: CGFloat

The resistance applied by the pin joint to spinning around the anchor point.