Hi all,
What I have is a cal3d avatar with a peoplemaker morph (for a talking mouth).
The avatar has to perform an animation: lean forward - back the origin - lean backward back to origin - lean left - back to origin - lean right and back to origin.
The bone that I want to rotate is one of the spineBones.
This is the code-part where i'm talking about
:
Code:
viz.starttimer(TIMER_BODY_MOVEMENT, .03, 1)
def onTimerEvent(id) :
if id == TIMER_BODY_MOVEMENT :
spine02.rotate(10,0,0)
viz.callback(viz.TIMER_EVENT,onTimerEvent)
What's happening now: the bone seems to snap to the new position, with <bone>.setEuler() it's doing the same.
How can I make this a smooth animation?
Thanks!