Table of Contents
Description #
Make a game object approach another game object by a percentage in a given amount of time.
Time Based: #
This is a Time-Based block (takes time to execute and holds the code sequence following it until it finishes executing).
Inputs #
This block has 5 Inputs:
- Sequential Input.
- GameObject_Src: The source object that will zoom in. 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.
- GameObject_Dst: The destination object that the source object will zoom in.
- Time: The time taken to zoom in. If connected to an Integer or a Float variable it overrides the value of the Time.
- Percentage: The percentage of the distance between the Source and Destination objects. If it was connected to an Integer or Float variable it overrides the value of the Percentage.
Outputs #
This block has only one Sequential Output.