I'm making a game, you know, and facing a problem about graphics.
I want to render laser beam. Concreatly speaking, a model shoots a laser-gun and the laser beam flies as a single long ray(not a bullet) straight from the model to an enemy. I hope that effect.
I'm thinking to use "createFlyStraightAnimator" or "IParticleSystemSceneNode & createBoxEmitter", but I have no idea how to do so far.
So I need your advices around the problem.
Well in the Demo tutorial there's code for shooting a billboard so if you want to use a particle system instead just copy the code and make the necessary changes.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
well when u use setLine start is the point where the scenenode starts and end is where it ends.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.