Jump to content
  • Advertisement
Sign in to follow this  
rostigcykel

[Collision] Isometric Collision

This topic is 2975 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

So I'm working on a game with an isometric based playing-field.

How do you check e.g. in wich isometric(diamond shaped) tile your cursor is?

Read probably every forum comment and article on the web by now but can't get my head around it...Mostly articles from this site and forum threads and several flash articles on it.

Thought it would be as easy as just rotating your cursor position and your tiles 26.57 degrees counter-clockwise(this is the angle an object should be rotated at if I got it right, for isometric view that is) so it would be aligned with an ordinary rectangle grid and there you checked collision but don't think that's gonna work out and it doesn't seem to smooth either.

Anyone got any links that got you going or that you think is good feel free to throw them in here.

If you got any solution you're sitting on to this problem feel free to drop em too.

And obviously if you feel that you can be of assistance and got some time to spare I'd love to hear what you have to say about the matter

Thanks on beforehand for any help recieved, regards Joakim

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!