#3: Show me the way


DevLog #3: Show me the way

This devLog is about the “path” the teacher is taking to watch students. For that I am using empty GameObjects placed on the scene:


with a script telling what the index of this step is. I just use the transform properties to handle rotation values, and the FOV scale of the teacher:


Each point class has an IComparable interface allowing to sort the points on their integer index field.

I can then have a script on the teacher sorting all the points by index and then moving from one point to another animating the position only. The thing I do for the rotation is just applying the rotation value because I didn’t found how to animate these f**ing angles with quaternion.

The result gives this:

Thanks for reading. 

Hope you enjoyed, 

TheRolf

Leave a comment

Log in with itch.io to leave a comment.