Collider:setGravityScale
EditSets the gravity scale of the Collider. This is multiplied with the global gravity from the World, so 1.0 is regular gravity, 0.0 will ignore gravity, etc.
Collider:setGravityScale(scale)
Arguments
Name | Type | Description |
scale | number | The gravity scale. |
Returns
Nothing