Detecting a hit between a 2d sprite a 3d entity
Detecting a hit between a 2d sprite a 3d entity
How do I detect a hit between a 2d sprite and a 3d entity? Not working on anything at the moment but just wanted to know . Thanks for reading .
- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: Detecting a hit between a 2d sprite a 3d entity
Hi.
There are 2 ways of working:
In a 3D screen
or
In a 2D classic graphics screen.
If you choose the first one, then the "2d sprite" you mention, is also a 3D object, because he is a flat entity who lives in a 3D (virtual, logical) world. So you must treat it like that.
There are 2 ways of working:
In a 3D screen
or
In a 2D classic graphics screen.
If you choose the first one, then the "2d sprite" you mention, is also a 3D object, because he is a flat entity who lives in a 3D (virtual, logical) world. So you must treat it like that.
