The code in the following link will allow you to create a smooth path by specifying a few points (empty game objects) in the Unity editor and have an object follow it.
Just get the code from:
http://wiki.unity3d.com/index.php/Hermite_Spline_Controller
Tutorial video here:
https://www.youtube.com/watch?v=kbEYRb14bms
Comments
Post a Comment