So I've been messing around with unit movements lately and I tried to recreate a movement similar to that in the starship battle map on bnet. I managed to get my units to make wide arcs when turning but if I issue an order right behind them as they are moving they switch facing almost instantly, ignoring their turning limitations. I'd like my units to at least decelerate before switching angles if they are not going to make a large arc for a u-turn. I've based all my units on zealots by the way, so they are not flyers if that even has an effect on it (and if it does I wouldnt mind knowing how to do this for flyers too).
How did you manage to get them to turn in wide arcs? What setting did you change?
I'd try turning up friction (I think thats what its called)... It makes units slow down to stop and speed up before starting. Normally, only workers and air units have this.
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
alot of movement stuff is hardcoded.
i have been forever trying to limit unit movement to 8 directions but it seems impossible
this instant turning thing seems like it would be the same.
So I've been messing around with unit movements lately and I tried to recreate a movement similar to that in the starship battle map on bnet. I managed to get my units to make wide arcs when turning but if I issue an order right behind them as they are moving they switch facing almost instantly, ignoring their turning limitations. I'd like my units to at least decelerate before switching angles if they are not going to make a large arc for a u-turn. I've based all my units on zealots by the way, so they are not flyers if that even has an effect on it (and if it does I wouldnt mind knowing how to do this for flyers too).
How did you manage to get them to turn in wide arcs? What setting did you change?
I'd try turning up friction (I think thats what its called)... It makes units slow down to stop and speed up before starting. Normally, only workers and air units have this.
@zeldarules28: Go
I turned down the lateral acceleration to get them to arc
alot of movement stuff is hardcoded.
i have been forever trying to limit unit movement to 8 directions but it seems impossible
this instant turning thing seems like it would be the same.
@maverck: Go
damn, I was hoping to mess around with the idea of a racing game but I guess ill have to accomplish that with triggers, im better with those anyhoo