Instance Property

velocity

The physics body’s velocity vector, measured in meters per second.

Declaration

var velocity: CGVector { get set }

See Also

Inspecting the Physics Body’s Position and Velocity

var angularVelocity: CGFloat

The physics body’s angular speed.

var isResting: Bool

A Boolean property that indicates whether the object is at rest within the physics simulation.