Zoom Out

Description #

Make a game object move away from another game object by a some units (distance) 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 out. 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 out.
  • Time: The time taken to zoom out. If connected to an Integer or a Float variable it overrides the value of the Time.
  • Units: The number of units that the Source will move away from the Destination objects. If connected to an Integer or a Float variable it overrides the value of the Units.

Outputs #

This block has only one Sequential Output.

Example #

Cube-1-4-2 will zoom out from pyramid-1 on Start with by 10 Units of distance in 1 Second.

Powered by BetterDocs