Hello guys,
I'm making a 3D game using DX 9. It should be a 3D space shooting game.
I would like to ask how I should implement firing.
1) as other objects in GameEngine;s sprite vector => shall I keep some objects hidden = so I don't have to create new when firing, just to make them active and place them in the proper position.
2)"machine-gun" firing implement as particle system But then I will have to make other collision detection system just for particles,right Presently, I'm using sphere volumes for CD.
BTW, I wonder if there is any good tutorial to implement fire or Rocket Engine's trail on the internet, because I haven't found anything that would work for me.
Peto.

Implementing firing and particle system
pappu
You can prepared Mesh in advance but there is no improvement to have ''hidden''
object in your scene...just don't draw them for this render loop
For the machine gun, most game will have a particule engine for the ''bullet case'' that get out of the barrel and implement an explosion on impact site...not a particule
engine for the actual bullet...they go too fast...You would only draw slow moving projectile (maybe a nice particule fire effect for the flash at the end of the gun)
Hockeyanimal
"1) as other objects in GameEngine;s sprite vector => shall I keep some objects hidden = so I don't have to create new when firing, just to make them active and place them in the proper position."
I don't suggest you keep them hidden but rather creating new ones and having a maximum of particles on the screen at a time. Your solution suggests that when there are no bullets/firing going on that you will still have those particles hidden and they will still be using resources which you could have spent or you could spend on other objects."2)"machine-gun" firing implement as particle system But then I will have to make other collision detection system just for particles,right Presently, I'm using sphere volumes for CD."
In a way that is true. You could still use the same responses if you have a generic collision response.I hope this helps.
Take care.