User:CrosRoad95: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Hi, i'm User:CrosRoad95
__NOTOC__
{{Client function}}
Creates physics world with default settings.


and here is my list of bugs, i mean features i would like to introduce into sa-mp i mean mta
==Syntax==
<syntaxhighlight lang="lua">
physics physicsCreateWorld( float gravityX= 0, float gravityY= 0, float gravityZ = -9.81)           
</syntaxhighlight>


'''
===Required Arguments===
1. finish water cannons
*'''gravity:''' gravitation used for simulation.  


2. marge get/set/restartLODDistance functions
===Returns===
*'''physics''' world used for simulation.


3. make something with random foliage ( create bushes/trees anywhere you want )
==Example==


4. some kind of custom particle effects?
<syntaxhighlight lang="lua">
physics = physicsCreateWorld()
</syntaxhighlight>


5. "pickWorldTexture" - getting textures from world
==See Also==


6. getting collision data in nearby area
{{Client_physics_functions}}
 
7. /debugworld - shows information about world ( need development mode turn on ), count: shadows, bushes, small trees, fires etc.
 
8. /debugcollision - shows collision grid
 
9. set ped collision size ( make possible crouch under low ceil )
 
'''

Revision as of 13:16, 8 February 2020