Wednesday, August 4, 2010

FAIL #1

Trying to do a 'correct' thing by creating a behaviour responsible for initiating particle emitter during collision. The syntax for the behavious seems to be rather simple:

%template.addBehaviorField(particleEffect, "The effect to use", t2dParticleEffect, "", t2dParticleEffect);

but at the end my list of particle effects for this behaviour is not populated (except the "None" entry, which I am not interested in ).

No comments:

Post a Comment