Instance Property

physicsMotion

The physics motion component used by physics simulations of the model entity.

Declaration

var physicsMotion: PhysicsMotionComponent? { get set }

See Also

Simulating Movement

struct PhysicsMotionComponent

A component that controls the motion of the body in physics simulations.

protocol HasPhysicsMotion

An interface that provides velocity properties for physics simulations.

protocol HasPhysics

An interface that combines the physics body and physics motion interfaces.