Push a game object in a specified direction.
Time Based #
Not a time-based block (won’t take time to finish execution).
This block has 4 Inputs:
- Sequential Input.
- GameObject: The object to give a Push. 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.
- Power: The power of the force. If connected to an Integer or Float variable it overrides the value of the Power.
- Direction: The direction of pushing the game object. If connected to a Direction or Vector3 variable it overrides the value of the Direction.
This block has only one Sequential Output.