Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi there again, I have an animated mesh and a walk animation - created in Coppercube. The animation has a length of 30 frames with 30 frames per seconds. Now I want to change the animation speed in Copperlicht and slow the animation down to 15 frames per seconds and a total length of 2 seconds. First i use setAnimationSpeed(15), which doesn't work, so I read the documentation again and saw "a floating point value" with the hope, so i used setAnimationSpeed(0.5). This worked neither. So I just want you to ask for the correct command, to slow my animation down. Thanks :) Totenkopf |
||||
|
AFAIK, basically you use setAnimationSpeed(fps / 1000.0f), where fps is the same value you can specify in the editor. |
||||
|
Okay, that's unexpected :D But now it works fine, thanks again :) Maybe you should edit this in the Documentation... Thanks, Totenkopf |
|