from way back in version 0.80.1.0
0.80.0.0:
Engine / Simulation:
- units can now move backwards
native forwards/backwards movement has been in spring for a while, but I can't find anything explaining how to use it. Anyone know how to use this?
how do you make a unit drive backwards?
Moderator: Moderators
Re: how do you make a unit drive backwards?
Code: Select all
speed = udTable.GetFloat("maxVelocity", 0.0f) * GAME_SPEED;
rSpeed = udTable.GetFloat("maxReverseVelocity", 0.0f) * GAME_SPEED;
Re: how do you make a unit drive backwards?
thanks a million :)
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: how do you make a unit drive backwards?
Don't set it too high, otherwise the units will drive backwards in somewhat awkward situations.