FANDOM


CraftStudio.Physics.SetGravityEdit

CraftStudio.Physics.SetGravity( [Vector3] gravity )

Sets the global gravity for all dynamic physics bodies.

The default gravity is Y=-10.

Example: Setting the gravityEdit

-- Let's make everything heavier!
​CraftStudio.Physics.SetGravity( Vector3:New( 0, -50, 0 ) )

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.