Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Greetings to everybody, cloned enemies do not show explosion effects when I kill them even though I've set it to the original enemy model that on die change pos of explosion relative to enemy model pls how do I fix it |
||||
|
The explosion is child of the original enemie? It is one thing necessary for the explosion works with the clones. |
||||
|
Thanks so that means I can't do it without chilling explo to enemies |
||||
|
You can definitely do it without childing, I've done it in most of my games. I can't remember exactly how I do it, I'll have to check - but - try cloning the explosion_animation when the enemy dies (action on die)...... Action on die: Restart behaviours of a scene node: "Explosion_Animation", Do Something later (100ms): Clone a scene node: Explosion_Animation Action to do with "Explosion_Animation" clone: "Change position to last bullet hit" (The current node). Then what happens is, when the enemy dies, it restarts the explosion animation, then clones the explosion, then moves it to the last bullet hit and automatically makes it visible. |
||||
|
Alright I will try that, tnks |
|