If loop is true then either if the object is moving forward or backward keep move it that direction in loop.
And if loop is false then either if it's in backward or forward direction like now just move forward/backward between all waypoints. from 0 to last then from last to 0 like a ping pong between all waypoints.
I'm not sure how to use the loop flag in the Move() function.
How to use the loop flag with the waypoints ?
And if loop is false then either if it's in backward or forward direction like now just move forward/backward between all waypoints. from 0 to last then from last to 0 like a ping pong between all waypoints.
I'm not sure how to use the loop flag in the Move() function.
Code (csharp):
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using...