Skip to content

LongEcho/Unity-Simple_Waypoint_Movement_Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Unity-Simple_Waypoint_Script

A simple Waypoint script for Unity.

Install

  1. Download the Unity package from the release section.
  2. Drag and drop the file into your Asset Folder.

Setup

Tutorial.mp4
  1. Select the object that should move.
  2. Drag the script onto the object.
  3. Create Waypoints (Empty Objects).
  4. (optional) mark Waypoints to see them better.
  5. Drag and drop all Waypoints into the Waypoint script. (You have to lock the Inspector)
  6. Press Play

Options

Loop: Check if the object should move continuous.

Speed: Change the Value to influence the Objects speed.

Rotate to Target: Check if the object should rotate towards the next Waypoint. Warning: Can be a bit buggy on newer Unity versions!

Rotation Speed: Change the Value to change how fast the object should turn.

About

A Waypoint script for Unity. Easy to use.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages