This asset allows you to add the elevator to your world which will move and rotate from point A to point B and back in the chosen duration. Asset also has buttons which allow you to call the elevator to the selected location.

HOW TO USE:

  1. Place an asset in your world.

  2. Place the "Start_Position_of_Platform" reference empty object exactly where you want the start position of your elevator to be. From the start elevator will be positions exaclty there. Align rotation of the start point the same way you want elevator to be rotated. While moving from end position to the start the elevator will rotate accordingly.

3.Place the "End_Position_of_Platform" reference empty object on the point where you want the elevator to travel to after the button on the platform is pressed. Align rotation of the end point the same way you want elevator to be rotated. While moving from start position to the start the elevator will rotate accordingly.

  1. Specify the duration of how long you want the travel and rotation itself to take in the "MovingScript (change duration here)" object

  2. Place the button "Start_Point_Button" somewhere near the "Start_Position_of_Platform" and "End_Point_Button" near the "End_Position_of_Platform". These buttons allow users to call elevator to their location if it is currently in the opposite location.

  3. If you want the audio SFX to be for the button tap and the elevator moving choose "soundEffectsActive" to be on. You can switch audio effects to any others you prefer.

  4. Duplicate the asset and follow steps 1-5 if you need more than one elevator.

Built With

Share this project:

Updates