rigid_body

Physics: the object falls, tumbles and collides while the game plays. Needs a collider.

In scene text

rigid_body { motion "…"  mass 1  friction 1 }

Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.

Fields 10

FieldTypeUnit / rangeWhat it does
motiontext—"dynamic" (moved by physics), "kinematic" (moved by gameplay, pushes others) or "static".
massnumberkg, 0.001 … 1Weight. A crate is about 20, a car about 1400.
frictionnumber0 … 2Grip: ice about 0.05, rubber on concrete about 1.
restitutionnumber0 … 1Bounciness: 0 thuds, 1 bounces back fully.
linear_dampingnumber0 … 10Air drag on movement.
angular_dampingnumber0 … 10Drag on spinning.
dragnumber0 … 2Air drag coefficient (a baseball 0.35, a golf ball 0.25, a beach ball 0.5): slows it by its speed squared. 0: none.
liftnumber0 … 3Spin lift (Magnus; 1 a baseball's): a backspun ball floats, a topspun one dips, sidespin curves it. 0: none.
rollingnumber0 … 1Rolling resistance (a ball on grass 0.06): how fast a roll dies; the larger of it and the surface's.
fasttrue / false—Sweep it for collisions whatever its speed: a 150 km/h ball never passes through a bat, a wall or a net.
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us
Download Arcwright free