AnimationTrack + Scale

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
User avatar
myak
Halfling
Posts: 40
Joined: Fri May 23, 2003 10:46 pm
Location: Warsaw, Poland

AnimationTrack + Scale

Post by myak »

Hi,
When I apply scale or rotation to my SceneNode and then create AnimationTrack with KeyFrames both scale and rotation are restored to their original values.
I know I can manually set scale/rotation in KeyFrames but if I don't set any then scale and rotation values should remain as they were set in SceneNode.

Or - maybe it's me who is doing something wrong and not KeyFrames? :)
Marcin Jakubowski
jabber://myak@chrome.pl
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66

Post by sinbad »

When applied to scene nodes, animation overrides any current state. That's because there is no 'bind position' as there is with a skeleton.
User avatar
myak
Halfling
Posts: 40
Joined: Fri May 23, 2003 10:46 pm
Location: Warsaw, Poland

Post by myak »

Ok, then it's not me who's doing that :) Thanks for the reply.
Marcin Jakubowski
jabber://myak@chrome.pl