PhysicsBuildCollisionFromGTA

From Multi Theft Auto: Wiki
Revision as of 15:17, 19 February 2020 by CrosRoad95 (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Makes gta collision get copied into bullet physics collision world. Doesn't load areas thats are not streamed in ( don't have loaded collisions...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Makes gta collision get copied into bullet physics collision world. Doesn't load areas thats are not streamed in ( don't have loaded collisions )

Syntax

bool physicsBuildCollisionFromGTA( physics thePhysics, [float x, float y, float z, float radius ] )             

Required Arguments

  • x, y, z, radius: area you want to load.

If position and radius passed, only this area got loaded, if not, flag got set to automatically scan all gta models every short period of time and load it for you.

Returns

True if success, false otherwise

Example


See Also