Physics properties
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. |
| restitution | rigid-body | set, get | float value | todo |
| scale | physics-shape, rigid-body, static-collision | set, get | float scaleX, float scaleY, float scaleZ | Sets/gets scale |
| debugcolor | physics-shape, rigid-body, static-collision | set, get | color theColor / boolean false resets color | Changes debug color |
| filtermask | todo | set, get | todo | todo |
| filtergroup | todo | set, get | todo | todo |
| stiffness | todo | set, get | todo | todo |
| size | todo | set, get | todo | todo |
| radius | todo | set, get | todo | todo |
| height | todo | set, get | todo | todo |
| boundingbox | todo | get | todo | todo |
| boundingsphere | todo | get | todo | todo |
| gravity | todo | set, get | todo | todo |
| usecontinuous | todo | set, get | todo | todo |
| motionthreshold | todo | set, get | todo | todo |
| sweptsphereradius | todo | set, get | todo | todo |
| pivota | todo | set, get | todo | todo |
| pivotb | todo | set, get | todo | todo |
| lowerlinlimit | todo | set, get | todo | todo |
| upperlinlimit | todo | set, get | todo | todo |
| loweranglimit | todo | set, get | todo | todo |
| upperanglimit | todo | set, get | todo | todo |
| breakingimpulsethreshold | todo | set, get | todo | todo |
| appliedimpulse | todo | set, get | todo | todo |
| jointfeedback | todo | set, get | todo | todo |
| constraintbroken | todo | set, get | todo | todo |
| triggercollisionevents | todo | set, get | todo | todo |
| triggerconstraintevents | todo | set, get | todo | todo |
| rigidbodya | todo | set, get | todo | todo |
| rigidbodyb | todo | set, get | todo | todo |
| sleep | todo | set, get | todo | todo |
| wantssleeping | todo | set, get | todo | todo |
| iscompound | todo | set, get | todo | todo |
| iscocave | todo | set, get | todo | todo |
| isconvex | todo | set, get | todo | todo |
| isconvex2d | todo | set, get | todo | todo |
| isinfinite | todo | set, get | todo | todo |
| isnonmoving | todo | set, get | todo | todo |
| ispolyhedral | todo | set, get | todo | todo |
| issoftbody | todo | set, get | todo | todo |
|}