PhysicsDrawDebug
Jump to navigation
Jump to search
Draws all static collisions and rigid bodies and other depends on debug mode. Use it once every frame just like other dxDraw functions
Syntax
bool physicsDrawDebug(physics thePhysics)
Required Arguments
- thePhysics: physics world
Returns
- bool if arguments are valid
Example
physics = physicsCreateWorld() addEventHandler("onClientRender", function() physicsDrawDebug(physics) end)
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