camera face forward during an animator

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.
liger13
Posts: 119
Joined: Tue Jul 18, 2006 4:17 am

Post by liger13 »

missed what!?
I completely forgot that time was a parameter for the creation of the animator.

it seems to be pointing backwards, but thats probably just my error.
liger13
Posts: 119
Joined: Tue Jul 18, 2006 4:17 am

Post by liger13 »

ok got it working, my mistake was that i believed the start time started at the moment your animator was added, just moving that much time ahead.
instead the start Time delays (in milisecs) the animator from starting.

its still a little rough though. does the animator change the position of the node independent of the game loop? or when does it do this?
JonLT
Posts: 152
Joined: Thu Mar 15, 2007 5:47 pm
Location: Denmark

Post by JonLT »

I should just stop posting in this thread as my first few posts were rather useless, BUT I feel like helping out so here goes:
The animator changes the position in the ISceneNode::OnAnimate method which is called trough ISceneManager::drawAll. This means that everytime you call ISceneManager::drawAll the position is updated.
This is what my 'overlookable'(how do you say that in proper english) knowledge of Irrlicht says anyway. :roll:

EDIT: got it 'overlookable' is discardable :)
EDIT: or rather humble - yes humble is better
JonLT
Posts: 152
Joined: Thu Mar 15, 2007 5:47 pm
Location: Denmark

Post by JonLT »

ups! :oops: (discard this)
liger13
Posts: 119
Joined: Tue Jul 18, 2006 4:17 am

Post by liger13 »

thnx, your not ruining my thread because help is always a good thing to me.
and if anyone is ruining this thread it would be me :P
Post Reply