User:CrosRoad95: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Blanked the page)
Tag: Blanking
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
{{Client function}}
Creates physics world with default settings.


==Syntax==
<syntaxhighlight lang="lua">
physics physicsCreateWorld( float gravityX= 0, float gravityY= 0, float gravityZ = -9.81)           
</syntaxhighlight>
===Required Arguments===
*'''gravity:''' gravitation used for simulation.
===Returns===
*'''physics''' world used for simulation.
==Example==
<syntaxhighlight lang="lua">
physics = physicsCreateWorld()
</syntaxhighlight>
==See Also==
{{Client_physics_functions}}

Latest revision as of 09:58, 12 May 2024