Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Dovyman

3d movement

This topic is 5687 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I''m working on an RTS engine, and I''m getting near the part where I have to think about the map and moving around in it. I can understand how it works if its movement along a single plane, but what if you want totally 3D movement, like homeworld style, how do you go about that? Ideally I''d like to keep movement 2d but leave the option open (this is an engine im programming) for full 3d movement.

Share this post


Link to post
Share on other sites
Advertisement
Let each object move in the XY-plane and move them in the Z-axis depending on the height of the terrain at that point. Later on, you could try to tilt each object based on slopes in the terrain
But first, make sure you get 2D-movement going.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!