- Home /
Ship movement in space-based RTS
Hi! I'm making a Homeworld-style space based RTS. I've got the basics going with a 2D plane to move around on aswell as unit selection and that sort of thing. I can also move my units about, but as of right now, they're just rotating towards their target destination and then shoots off at variable speed - sure, that's cool, but I want it to be more like in the Homeworld series, where the ships would behave like planes (flip around if destination is right behind it, fly in some kind of curve if that's not needed, etc). I think I was on to something when I considered Bezier curves, but I could never get it to work... Has anyone got any suggestions on this? Thank you in advance!
I'm considering 3D movement in the future, but figured 2D would be the easiest choice for now.
I've now found a way by simply using Lerp on rotation and position to make smooth movements, all I had to do was ease the rotation speed to make it smoother.