VERGELua API

PhysicsObjectParameters

Parameters for creating a physics object.

mass:numberprop

Mass of the object.

inertia:numberprop

Inertia of the object.

damping:numberprop

Linear damping of the object.

rotdamping:numberprop

Rotational damping of the object.

rotInertiaLimit:numberprop

Rotational inertia limit.

volume:numberprop

Volume of the object.

dragCoefficient:numberprop

Drag coefficient of the object.

enableCollisions:booleanprop

Whether collisions are enabled.