Particle Candy Question

Blitz3D Forums/Blitz3D Programming/Particle Candy Question

OrcSlayer(Posted 2006) [#1]
I just got this wonderful lib, along with Sprite Candy, and I'm learning them slow but sure.

One thing that gets me though...when I try to align an emitter to a vector, the way I did my old custom emitters (which were terribly slow multi-surface ones), the emitter always gets screwed up.

Does anyone know why this is, and how to avoid it?


Dreamora(Posted 2006) [#2]
Perhaps your old calculation had an error that was corrected by your old emitter code? (or the emitter code forced the error in the alignement code)


OrcSlayer(Posted 2006) [#3]
Well, my old emitter was just a pivot that was aligned to surface. Particles were created at that position. That's pretty much all there was to it...

No real alignment code, I just aligned to the collision normals of the projectile using AlignToVector.


OrcSlayer(Posted 2006) [#4]
Alright, I figured it out...sorta. I needed to define an axis for the aligntovector code (never needed to do that before, no clue why)...