Hi.

Can anybody help me with the basic algorithims for this sort of detection? I would really appreciate it.

Thanks!

Leeor...

Printable View

- 04-05-2004leeor_netIsometric Bounding Box Algorithims
Hi.

Can anybody help me with the basic algorithims for this sort of detection? I would really appreciate it.

Thanks!

Leeor... - 04-06-2004Salem
Have you searched using google yet?

- 04-06-2004leeor_net
I have, actually. I really haven't found anything yet.

Leeor... - 04-07-2004quzah
So what exactly is your problem? How hard is it to make a boarder and add simple boundry checking?

Code:`if( xposition+xmove <= lowerxbound || xposition+xmove >= upperxbound )`

bounce( );

Quzah. - 04-07-2004leeor_net
You seem very arogant for someone who can't read properly.

I know how to make a box bounce around the screen. How do you calculate an isometric BOUNDING box, not BOUNCING box.

If you don't know what an isometric view is, think about Age of Empires, X-COM, or StarCraft and you have an isometic engine.

Leeor... - 04-08-2004quzah
I can read just fine. I just don't see the how it becomes more complex just because it's isometric. It's still a box. It still has sides. They still can overlap the edge. You still make it bounce. I think you're over thinking it.

Quzah. - 04-09-2004vulcan_146
I think he means that he wants to know how to calculate the boundaries of an isometric box because they are boxes at angles.

- 04-10-2004quzah
The same way you calculate it for non-isometric boxes. If you can measure the diagonal across a box, that's all you need to do. You could always draw a picture of it, measure it, and use the dimensions for your calculations if you can't do the math.

Quzah.