Page 1 of 1

Firing Bullets

Posted: Fri Mar 23, 2007 9:47 pm
by paradox
Hello,

I have just finished my movement project in Irrlicht, my friend has now asked me to see if i can get some sort of click and shoot function going on with the program. I have looked on these forums to seek information about it, but unable to find anything which starts from scratch.

Basically, i have no idea where to start, im not asking for full on working code, I would like to be just told a direction, something i need to know about starting to fire. Then I will work on it, and learn for my self as it were. Im not sure if im asking to much or what, but even Pesudo code is great too.

As i said, giving me code would be a noobish thing for me to ask. So really any information i might need to get me thinking, going would be Fantastic.

Thank you in advance.

Stu

Posted: Fri Mar 23, 2007 9:52 pm
by Luben
Check out the demo project/tutorial, after the cinematic scene you can fire/shoot fireball-ish objects, it might be what you are looking for.

Posted: Fri Mar 23, 2007 9:59 pm
by hybrid
And the collision example (7) which selects the triangle pointed at and highlights the meshes when selected.

Posted: Fri Mar 23, 2007 10:05 pm
by paradox
Woah nice fast replies peps,

ah, you see i heard something about the demo's having something to do with firing. Ok, Ill have a lookies around them, cheers