Protocol

HasPhysicsMotion

An interface that provides velocity properties for physics simulations.

Declaration

protocol HasPhysicsMotion : Entity

Topics

Setting the Motion Component

var physicsMotion: PhysicsMotionComponent?

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

struct PhysicsMotionComponent

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

Relationships

Inherited By

See Also

Simulating Movement

var physicsMotion: PhysicsMotionComponent?

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

struct PhysicsMotionComponent

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

protocol HasPhysics

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