Loading...

Logo
DocumentationBehaviorsPhysicsSet Gravity
Physics

Set Gravity

Last updated September 26, 2018

Description

Change the gravity being applied to the world or a specific object.

Properties

Triggers Immediately

Object ABy default this is the current object selected. You can change this to any other object in your scene.
Gravity XThe amount of gravity (in meters per second) to apply in the X axis.
Gravity YThe amount of gravity (in meters per second) to apply in the Y axis

Outputs

Object ID

This outputs the Object ID.

Examples

Use this behaviour to override the gravity. You can use this to make some or all your objects start floating, or moving in a specific direction.

Download Example Project

Get Gravity

SetGravityReference.gif