nero81af
Member
|
animation problem
Hi there! I have a little problem: I used to animate cskele with this code
CSkeleton cskel;
cskel.animate(pathtoanimfile,time);
now I'd like to have more info on the animation itself so I tried the following
Animation anim;
Skeleton skel;
SkelAnim sanim;
CSkeleton cskel;
anim.load(pathtoanimfile);
sanim.create(skel,anim);
cskel.animate(sanim,time);
but it doesn't work.. why?
(This post was last modified: 03-09-2010 10:21 PM by nero81af.)
|
|
03-09-2010 10:20 PM |
|
Esenthel
Administrator
|
RE: animation problem
you don't create SkelAnim
you obtain it from CSkeleton::findSkelAnim,getSkelAnim
|
|
03-09-2010 10:32 PM |
|