S
Searingdeath
Guest
So as part of my map there's this mini-game, much like frogger. The problem is, I can't get the cars to move in a straight line.
Right now I have an array of regions for each side. Whenever one is entered, it teleports the car to the other side (facing the side it entered) and issues an order to move to the side it entered.
The cars loop just fine, but they seem to "bend" up and down, without going in a straight path.
I reduced the collision on them a bit because they were a bit close together, although even ones that are far away from the rest of the cars sway up and down as they move toward the other side.
Do I need to make a special pathing map for that specific unit, and if so, how do I go about doing this? Is there a function where I can lock the domain of a unit to a region (would be a thin strip across the road).
Thanks in advance...
-- Searingdeath
Right now I have an array of regions for each side. Whenever one is entered, it teleports the car to the other side (facing the side it entered) and issues an order to move to the side it entered.
The cars loop just fine, but they seem to "bend" up and down, without going in a straight path.
I reduced the collision on them a bit because they were a bit close together, although even ones that are far away from the rest of the cars sway up and down as they move toward the other side.
Do I need to make a special pathing map for that specific unit, and if so, how do I go about doing this? Is there a function where I can lock the domain of a unit to a region (would be a thin strip across the road).
Thanks in advance...
-- Searingdeath