Archived

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

krad7

Collision detection..

Recommended Posts

I''m working on a simple side scrolling shooting game. All my units (like the spaceships and stuff like that) are 3d units. Only the backdrop is in 2d, most of the other units are in 3d. now i am working on collision detection between units and bullets. what is the best way to detect collision between them? i tried bounding spheres and bounding cubes, some of the units escape the detection. if someone could help me i would really appreciate.. (a weblink would do good too). Thanks in advance..

Share this post


Link to post
Share on other sites
On a side note.. My units in the game twist and turn around in 2d space. So the bounding box has to be transformed accordingly during each frame while rendering and detecting collision. This seems kinda expensive when there are a large number of units moving in a crazy fashion. So whats the best and efficient way to detect collision?

Thanx

[edited by - krad7 on September 3, 2003 2:22:37 PM]

[edited by - krad7 on September 3, 2003 2:36:13 PM]

Share this post


Link to post
Share on other sites