Lz want to make similar project of the east barrage effect, as shown in figure 1,
Lz has achieved more direction of single scattering, as shown in figure 2,
Lz in single scattering layer code plus a for loop, the result is a very strange effect, as shown in figure 3 and figure,
Why will appear this kind of effect? Who can help to see where the problem is? How to implement multiple scattering?
In addition, about the bullet towards this, who know how to change? I tried many ways didn't do it, is to let the bullet towards the location of the launch it?
Attach a fire code:
Thank you very much! The good life to peace!
CodePudding user response:
The top! D=====( ̄ del  ̄ *) bCodePudding user response:
First take Angle vector again let the barrage rotate toward the direction and then it is ok to go forward