Sign in to follow this  
rostigcykel

[Collision] Isometric Collision

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this