MovingPlatform

  • platformPositions: Array that stores the points where the moving platform will pass through.

  • loopType: Configure the behaviour of the platform.

    • None: Stays idle.

    • Reverse: Once it reaches the last platform position it lerps back, when it reaches the initial position, it starts again. Back: Once it reaches the last position, it lerps back to the first one.

  • Speed: Velocity Magnitude at which the platform moves.

  • startOnAwake: Start moving from the start.

StartMovement()

Start to move the platform.

Last updated