Collider:getGravityScale
EditReturns 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.
scale = Collider:getGravityScale()
Arguments
None
Returns
Name | Type | Description |
scale | number | The gravity scale. |