How do I attach a particle effect to a puppet or play the particle effect at the position where the puppet is?
When the puppet is destroyed they are to leave a particle effect at their position. What would be the best method of doing this? The particle effect does not attach to objects like other gadgets do so is there a way to get the particle effect to attach to the puppet or do I need to work out the coordinates of the puppet?
-
I'd say just have an emitter emit the partical effect upon death and have it set to emit wherever you want it to come from. I have a working sorta prototype to this as I have one of my characters pound the ground and dust emits upon impact seemingly from ground where the character hits.
-
Could you have an object follow the puppet very closely to emit the particle effect?
So, for example put a tag on the puppet and call it 'alive',
have an object follow very closely set to invisible and with collision off,
on the same object have a trigger zone set to look for the 'alive' tag,
hook the trigger zone to a 'NOT' gate, and the 'NOT' gate to the emitter.
When the puppet dies the trigger zone will NOT detect the 'alive' tag and so through the NOT gate send a signal to the emitter to fire of the particle effect.
umm, I hope that makes sense? -
'@CloaknDaggerson thanks, you sent me along the right track. Just attached an emitter on to the puppet then attached the particle effect to that. Used a switch to control the particle effect. Cheers.
댓글을 남기려면 로그인하세요.