FPS with irrlicht (Irrlicht users perfered)
Posted 24 January 2008 - 08:22 PM
how would i start this first project of mine please just give me the basics move and shoot ill try to figure the rest out
Posted 28 January 2008 - 02:42 PM
Implementing 1-st person controls in Irrlicht is as easy as using Irrlicht's first-person camera. Shooting can be resolved by raycasting. It's up to you to figure out the rest. Good luck!
Posted 28 January 2008 - 05:28 PM
A more specific approch to this, perhaps saving you hours on google is...
In DirectX, you can use D3DXIntersect(), or an equivelant that Irrlicht has. That will give you the info on whether you hit the entire mesh or not. If you want more specific impacts (head, torso, leg, ect.), then you can use D3DXIntersectSubset(), making each different part of the body a different subset.. which is kind of what you should do anyway.
If this all can't be done in directX, I'm sure Irrlicht has some kind of identical or similar function. I'm not entirley sure if the source code can be moddified for that, but again, I would think that engine needs heavy modification before it can start most any quality project, so no source code would be a dumb move.
Posted 28 January 2008 - 07:20 PM
Posted 28 January 2008 - 11:36 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users