Collision detection..

Started by
0 comments, last by krad7 20 years, 8 months ago
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..
Slow and steady wins the race.
Advertisement
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]
Slow and steady wins the race.

This topic is closed to new replies.

Advertisement