PhysicsGetStaticCollisions: Difference between revisions
Jump to navigation
Jump to search
CrosRoad95 (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Returns all static collisions created in specific physics world. ==Syntax== <syntaxhighlight lang="lua"> table physicsGetStaticCollisions(phys...") |
(No difference)
|
Latest revision as of 14:31, 11 February 2020
Returns all static collisions created in specific physics world.
Syntax
table physicsGetStaticCollisions(physics thePhysics)
Required Arguments
- physics: The physics world.
Returns
- table of static collisions: {staticCollision, staticCollision, staticCollision, ...}
Example
staticcollisions = physicsGetStaticCollisions(physics) print("You have created ".. #staticcollisions .." staticcollisions so far!")
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