Table of Contents
Description #
Enable or Disable the Gravity of a game object.
Time Based #
Not a time-based block (won’t take time to finish execution).
Inputs #
This block has 3 Inputs:
- Sequential Input.
- GameObject: The object to Enable/Disable the Gravity of. If connected to a game object it overrides the game object you are writing the code inside. If not, by default, it is the object you are writing code inside.
- Gravity: Change this to True if you want to apply gravity on the game object. If connected to a Boolean variable it overrides the value of the Gravity.
Outputs #
This block has only one Sequential Output.
Options: #
Current: To enable the code only if the code is written inside the selected GameObject.