Push a game object in the direction of another game object.
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.
- To GameObject: The destination of the pushed game object. If connected to a game object it overrides the game object chosen from the selection bar.
This block has only one Sequential Output.