Yes, I'm creating a 3d shooting game.
I would like to know if there is some inbuilt function/class that can help me do it better/faster/easier than with just plain c++ code. Or if anyone knows how to do it c++, can you post a link to a good tutorial or help me out with it because I'm a n00b at c++ (not with 3d graphics and programming). Or maybe you have some book to recommend?
Thanks
Arangol
(w00t first post!)
EDIT: I have the 3d world ready, collision detection, movement and some "NPCs"(they don't move or anything), and health and gui I will add later.
Shooting in Irrlicht
If you don't need a real bullet flying yu should have a look at the collision demo (#07)...
Because a bullet flies that fast you couln't see it I suggest you to use a ray cast...
The thing in the demo that places the billbord on the wall...
Do this just if you click the mouse button and check what it hits...
Because a bullet flies that fast you couln't see it I suggest you to use a ray cast...
The thing in the demo that places the billbord on the wall...
Do this just if you click the mouse button and check what it hits...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 12
- Joined: Sun Apr 23, 2006 11:05 pm
I would need a bullet to fly like in the demo. I tried to port the code to my game
(my game is the collision detection test, just running in full screen, and many modifications, new map etc.. but the basic code is the same)
but it didn't work. If anyone could show how to do it with the collision detection example then I would be very grateful.
(my game is the collision detection test, just running in full screen, and many modifications, new map etc.. but the basic code is the same)
but it didn't work. If anyone could show how to do it with the collision detection example then I would be very grateful.