Game Development Community

How do I mount a particle emitter to an object?

by Nicolai Dutka · in Artist Corner · 06/23/2009 (4:04 pm) · 4 replies

I've got some itemData objects in my level with a nice 'sparkle' effect placed at their location. Problem is, itemData reacts to physics and sometimes shifts/moves leaving my sparkle effect not lined up...

I've been trying the following in console:

%item.mountObject(%particle,0);


Where %item = name/ID of the itemData object and %particle = name/ID of the particle emitter.

I even re-exported my item with a 'mount0' node. I can't get the emitter to stick to the object at all...

#2
06/24/2009 (8:22 am)
Yes but... those are old posts for TGE. I failed to mention I am using TGEA 1.8.1. I am not the best at C++ and certainly would have trouble getting code to convert...
#3
06/25/2009 (5:40 pm)
After much searching, I've decided to try the 2nd link. I am getting just 1 error and don't know how to fix it... I posted in that thread but am not getting any answers...

www.garagegames.com/community/resources/view/14791/1#comment-129279
#4
07/03/2009 (9:03 am)
BUMP!!