Jump to content

Skeletal animation transition ?


RalphEl
 Share

Recommended Posts

Hello reddozen is right.

 

For your 2nd question: when using scnee.beginAnimation, the function returns an animatable object.

 

you can use this object to pause, stop or reset the global animation.

You can also call animatable.getAnimationByTargetProperty to get the animation associated with a given property.

 

the animatable object contains all the sub-animations currently running (animatable.getAnimations())

 

for each animation, you can get the current frame with animation.currentFrame

Link to comment
Share on other sites

Obviously I don't know much about this, but is it not possible to make an animation that, let's say... Walks and transitions to a run, let's say the walk is frame 0-100, run, is 100-250, could you maybe override the animation object to reset to frame 0 when it hits 100 if the run button isn't currently being pressed for example, and likewise the other way, once running you could start the animation at frame 100?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...