Mantra Examples
Loading code from document...
Physics

Apply a force to an entity.

Apply Force

Physics

Rotate an entity.

Rotate

Physics

Set the position of an entity.

Set Position

Physics

Detect when a collision is active.

Collision Active

Physics

Detect when a collision ends.

Collision End

Physics

Detect when a collision starts.

Collision Start

$physics engine motion movement gravity force velocity mass acceleration inertia friction