Page 1 of 1

pointemitter setposition misbehaviour

Posted: Tue Jan 24, 2006 6:01 pm
by warden
hi

i got a pointemitter (working) and set it to a new position every frame (60fps). problem is, that the position is added to the old one, causing rate control (aka first order control, aka incremental position...

this does not happen with a box emitter!
this also does not happen to a testwisely included parent node (testscenenode) which sets the absolute position value right.

is this a bug or what? why should boxemitter and pointemitter have different position changing behaviour.

btw: input values are -1..1 for x,y respectivly, camera at -z with y up.

thanks for notice, hoping for a solution
warden

Posted: Tue Jan 24, 2006 6:21 pm
by warden
hmm particlesys->setParticlesAreGlobal(0); seems to work

talking here helps, thanks for listening.

could anyone explain the difference between point emitters and box emitters, and why one is global by default and the other is not???