MagiCats
Wiki home
Actions / Camera

Travel To

Moves the camera to a target over time.

Advanced blockBlock ID 105TravelTo
Travel To code block in the MagiCats editor

What it does

Runs a camera travel transition to the target position.

Inputs

  • Target unit.
  • Duration.

Try it

Show a locked door before the player reaches the switch.

Tips

  • Short camera moves keep players oriented.

Sources

Legacy pages reviewed: TravelTo

Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/ContentFonction.cs, MagiCats_UnityProject/Assets/Scripts/Blocks/BlockManager.cs