gogofast
06-03-2003, 06:50 PM
hi,
I made a particle object (named "A") and let "A" collide with a surface, then I create a collision events which i want to emit some particles when "A" collide with surface. I used a particle object (named "B") as the target particle of the events. I created the "B" before I made the "A", and have wrote some creation and runtime expressions for "B".
When I play the animation, there are "runtime error" in "B"'s runtime expression. I notice that the creation expression of "B" have not been executed, so the variables in creation expression of "B" did not been declared, and when runtime expression used the variables it report error("divided by eror. (// Error: An execution error occurred in the runtime expression for snow_particleShape. //
// Error: line 7: Division by zero. //)
If I create a new target particle object for collision events, that's ok, when the collision event happend, the creation expression was executed.
I dont know why. Because I used a lot of time to adjust parameters of B, so I dont want a new target particle.
help me:bounce: :bounce:
I made a particle object (named "A") and let "A" collide with a surface, then I create a collision events which i want to emit some particles when "A" collide with surface. I used a particle object (named "B") as the target particle of the events. I created the "B" before I made the "A", and have wrote some creation and runtime expressions for "B".
When I play the animation, there are "runtime error" in "B"'s runtime expression. I notice that the creation expression of "B" have not been executed, so the variables in creation expression of "B" did not been declared, and when runtime expression used the variables it report error("divided by eror. (// Error: An execution error occurred in the runtime expression for snow_particleShape. //
// Error: line 7: Division by zero. //)
If I create a new target particle object for collision events, that's ok, when the collision event happend, the creation expression was executed.
I dont know why. Because I used a lot of time to adjust parameters of B, so I dont want a new target particle.
help me:bounce: :bounce:
