Hello, I am using a waypoint system for my opponents in a race, and i-m varying their speed and distance to next waypoint randomly. Thing is, I woul like to do something like:
waypoints system a, from 1 to 104
waypoints system b, from 1 to 104
waypoints system c, from 1 to 104
My waypoint structure is like:
numer of waypoint, position in x, in y, in z
PointNew.wayPoint( 1, 1.014, 2, -3)
And from those, make opponent pick waypoint 2, from a, waypoint 3 from c and waypoint 4 from b, all of this randomly.
Which method would you recommend to achieve this? Does this technique has a name? If someone knows please let me know. Thanks.
waypoints system a, from 1 to 104
waypoints system b, from 1 to 104
waypoints system c, from 1 to 104
My waypoint structure is like:
numer of waypoint, position in x, in y, in z
PointNew.wayPoint( 1, 1.014, 2, -3)
And from those, make opponent pick waypoint 2, from a, waypoint 3 from c and waypoint 4 from b, all of this randomly.
Which method would you recommend to achieve this? Does this technique has a name? If someone knows please let me know. Thanks.