About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
animation problem
Author Message
nero81af Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: animation problem
you don't create SkelAnim
you obtain it from CSkeleton::findSkelAnim,getSkelAnim
03-09-2010 10:32 PM
Find all posts by this user Quote this message in a reply
Post Reply