Search Unity

Waypoints and timing

Discussion in 'Navigation' started by gflint, Oct 21, 2020.

  1. gflint

    gflint

    Joined:
    Dec 20, 2018
    Posts:
    13
    I have 3 simple cubes following 3 different waypoint paths. I want the cubes to pause at certain points then resume their travel. This pause is simply a fixed time and is not caused by anything else happening other that reaching a location on the path. The eventual goal is to build a historical battlefield animation where the cubes would represent units on a battlefield. The paths would represent what they did in the battle. This would be a recording of the battle, not a game using inputs to move anything. Are there any tutorials showing how to set the timing or would it be better to learn Timeline and Cinemachine?
     
  2. John_Leorid

    John_Leorid

    Joined:
    Nov 5, 2012
    Posts:
    650
    Yes - for animations you won't find much better tools for free.

    But to simple pause everything, theres Time.timeScale set it to 0 with a simple script and everything physics, particles, animation and every script using Time.deltaTime will be paused. ^^