pointemitter setposition misbehaviour

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
warden
Posts: 11
Joined: Thu Nov 24, 2005 3:54 pm

pointemitter setposition misbehaviour

Post 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
warden
Posts: 11
Joined: Thu Nov 24, 2005 3:54 pm

Post 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???
Post Reply