Unity Basics - Waypoint Path system in Unity Part 2
Be sure to check out my Unity for Complete Beginners course on Udemy here: https://www.udemy.com/course/learning...
You can view the first part of this video Unity Basics - Waypoint Path system in Unity here: • Unity Basics - Waypoint Path system i...
TimeStamps:
00:00 - Intro / What we will make
03:40 - Smoothly rotate towards target waypoint
14:00 - Loop option
19:40 - Forward / Reverse option
In this video I will show you how to continue on with the waypoint system that we started in the previous video. We will now add some extra features that were requests on the previous video including Smoothly rotate towards the target waypoint, having the path loop or have end points and allowing the agent / player to move forward and backwards.
This system can be dragged and dropped on to any objects in your scene that you want to follow a path or become a path.
With some extra modifications you can turn this in to a complete waypoint package that you import to any Unity project that you need it in.
Donate: https://streamlabs.com/metalstormgames
Subscribe: / metalstormgames
Discord: / discord
Twitter: / metalstormgames
Here are links to the Unity Scripting Reference for some of the methods that we use in this video.
Transform.GetChild - https://docs.unity3d.com/ScriptRefere...
Transform.GetSiblingIndex - https://docs.unity3d.com/ScriptRefere...
Transform.childCount - https://docs.unity3d.com/ScriptRefere...
Quaternion.Slerp - https://docs.unity3d.com/ScriptRefere...
#unity #unitytutorial #gamedev #indiedev #unity3d #unity2d #madewithunity