PhysicsSetProperties: Difference between revisions
Jump to navigation
Jump to search
CrosRoad95 (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Sets physics element properties. ==Syntax== <syntaxhighlight lang="lua"> bool physicsSetProperties(physics-element thePhysicsElement, string k...") |
(No difference)
|
Latest revision as of 12:38, 9 February 2020
Sets physics element properties.
Syntax
bool physicsSetProperties(physics-element thePhysicsElement, string key, mixed value)
Required Arguments
- physics-element: Can be physics world, rigid body, static collision, constraint or shape
- key: Property key, Physics properties
- value: Depends on key.
Returns
- bool if property got changed
Example
See Also
- physicsCreateWorld
- physicsDestroy
- physicsCreateShape
- physicsCreateShapeFromModel
- physicsCreateRigidBody
- physicsCreateStaticCollision
- physicsCreateConstraint
- physicsAddChildShape
- physicsRemoveChildShape
- physicsGetChildShapes
- physicsSetChildShapeOffsets
- physicsGetChildShapeOffsets
- physicsGetShapes
- physicsGetRigidBodies
- physicsGetStaticCollisions
- physicsGetConstraints
- physicsSetProperties
- physicsGetProperties
- physicsDrawDebug
- physicsSetDebugMode
- physicsBuildCollisionFromGTA
- physicsApplyVelocity
- physicsApplyVelocityForce
- physicsApplyAngularVelocity
- physicsApplyAngularVelocityForce
- physicsApplyDamping
- physicsRayCast
- physicsShapeCast
- physicsGetElementType
- physicsIsElement