Change the Mass of a game object.
Time Based #
Not a time-based block (won’t take time to finish execution).
This block has 3 Inputs:
- Sequential Input.
- GameObject: The object to change the mass 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.
- Mass: The Mass of the game object. If connected to an Integer or Float Variable it overrides the value of the Mass.
This block has only one Sequential Output.
Current: To enable the code only if the code is written inside the selected GameObject.