Physics properties

From Multi Theft Auto: Wiki
Revision as of 09:34, 9 February 2020 by CrosRoad95 (talk | contribs) (Created page with "===Physics properties=== used in *physicsSetProperties *physicsGetProperties {|class="wikitable sortable" |- ! Name || Support || Access || Parametrs || Description |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Physics properties

used in

Name Support Access Parametrs Description
mass rigid-body set, get float mass Changes mass of rigid body.
position rigid-body, static-collision set, get float x, float y, float z Sets/gets position.
position constraint get float x, float y, float z Returns avarge position of two rigids.
rotation rigid-body, static-collision set, get float rx, float ry, float rz Sets/gets rotation.
sleepingthresholds rigid-body set, get float velocity, float angularVelocity Sets how slow rigid body have to move, to go sleep.

|}