Jump to content

Animator Component


Andy90
 Share

Recommended Posts

 

Since we want to create a component library, I would like to make my contribution to it. This small component makes it possible to play and stop animations for models. Various settings are available:

  • AutoPlay: Actually self-explanatory. If this option is activated, the animation is played directly at startup.
  • Loop: If activated, the animation is played in a loop.
  • Name: The name of the animation.
  • Speed: The speed of the animation.
  • Bleed (255): Animation bleeding.

In addition, there are two inputs for the Nodegraph: "PlayAnimation" and "StopAnimation". These functions can also be called via C++.

Screenshots:

image.thumb.png.d1f6cbf052fd3c9b12b31c994ee0de5d.png

image.png.cb61957d88449eb9d16eb16420e2ab4b.pngAnimator.zip

 

 

  • Like 5
  • Thanks 1
Link to comment
Share on other sites

Here's a lua version of this. Some minor differences and I removed the use of camelSense since the stock components don't use it. 

This was on my list so thanks for writing it! 

Animation.zip

  • Like 4

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

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.

 Share

×
×
  • Create New...