Animating mesh moves around

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Eigen
Competition winner
Posts: 375
Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia
Contact:

Animating mesh moves around

Post by Eigen »

I'll start with a video. Take a look here

As you can see, when animating, the mesh moves around (from left to right) whereas the scene node moves in a straight line. It's a rigged .ms3d file and I animate using setFrameLoop(). In the model editor it's all good.

My guess is that it has something to with bounding boxes, because it happens with jumping and other animations as well, with ones that re-size the bbox on each frame considerably. It's not noticeable with idling animation, because it has little character movement and bounding box stays the same.

I'm using 1.7.1.

Any ideas?
Last edited by Eigen on Tue Aug 03, 2010 11:57 am, edited 1 time in total.
terier
Posts: 34
Joined: Sun Oct 05, 2008 4:46 pm

Post by terier »

Maybe you're using too small values, as floats are in fact quite inaccurate on small scales.
Eigen
Competition winner
Posts: 375
Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia
Contact:

Post by Eigen »

No, the node is 5 units tall so it's not a floating point issue.
Post Reply