Collision Particle
Hello,
I want to display particle once player collide with enemy and If I am going to use destory its also destory the particle with player.
I used other rule change attribute self.color.alpha to 0 once its collide and it works and hide player
After player change to 0 its invisible but still working with objects. How do I avoid that?
Thanks,
John
I want to display particle once player collide with enemy and If I am going to use destory its also destory the particle with player.
I used other rule change attribute self.color.alpha to 0 once its collide and it works and hide player
After player change to 0 its invisible but still working with objects. How do I avoid that?
Thanks,
John
Comments
The best way to do this is to spawn the particle actor in the position of the impact.
Make the spawned actor "non movable"
Give him the particles rule
And also give Him a rule to destroy itself after few seconds.
Hope that helps you.
Roy.