Instance Property

mode

The physics body’s mode, indicating how or if it moves.

Declaration

var mode: PhysicsBodyMode

Discussion

By default, this value is set to PhysicsBodyMode.dynamic, meaning the body responds to forces.

See Also

Setting the Mode

enum PhysicsBodyMode

The ways that a physics body can move in response to physical forces.