Re: Why the particles do not hit actors?
Nonsequitorian wrote:
Oh, I checked the Ini, I just didn't know what part of the code you meant. The lua is a bit dodgy, as in, it didn't make sense to me. You mixed parts of the actor-check script with parts of the land-deleting stuff. Do you see errors in the console?
And, for future reference, AEmitters can't have sharpness.
I sometimes have this problem with sprite files that are really small. Like, lets say, a single pixel bmp. It hits the actor sometimes, but doesn't hit it other times, like it skips over it due to the way it's computed.
Ah, the problem is:
①
the particles "Particle CutTool" spawned by the gun should
be able to hit both actor or terrain, then gib and spawn another particle "dig" to do something with lua.
②In this version, the "Particle CutTool" do hit terrain and spawn "dig".
③Seems that it can hit actor(when there's an actor between the muzzleoffset and terrain, the "Particle CutTool" won't hit the terrain anymore, it may blocked by the actor. Not very sure), but after that,
particle "dig" doesn't appear. I can only "dig" actors' life when I successfully dig the terrain and there're actors close enough to the disappeared terrain.
Since that, there should be no problem with particle "dig" and its lua code. What about "Particle CutTool"? But its picture is not too small(8pixels of 5x5), it has a normal speed(70), its hitsMOs has been set to 1, its GibImpulseLimit = 0, Sharpness = 20...I just couldn't get to the bottom of the problem.