Hi,
There’s a scene containing ball and small box, and there is particle system over this box, Now, I can move the ball using keys,It’s imposed when ball collide the box the emitter start emit, this is my code attached to box:
// when ball collide box, smoke start
function OnTriggerEnter (other : Collider) {
particleEmitter.emit = true;
}
The problem is particle always emit and not obliged to my code (it should emit only when ball collide box)
where is the mistake here…?!