Jump to content


Azenix

Detect if Animation is playing

Recommended Posts

Azenix    0

I'd like to detect if the animation is being played back in the viewport so the rig hides the controllers. Preferabably through xpresso, but i wouldn't mind using a python or coffee node.

Share this post


Link to post
Share on other sites

graphos    31

I remember reading some informations about detecting animation, sadly after 2 day of research I didn't succes to refind where I found thoses informations

 

Then I suggest you to open a new thread here http://www.plugincafe.com/forum/forum_topics.asp?FID=7 where support team will be able to help you quickly.

 

 

Share this post


Link to post
Share on other sites
Abyss    19

Fairly simple with a Python node in Xpresso.

 

What you are looking for is the  "c4d.CheckIsRunning(c4d.CHECKISRUNNING_ANIMATIONRUNNING" command.

 

Then its basically just an "if" statement with that command. Output a boole type in your enable or visibility input of what you want to hide.

 

I have added a file.

 

 

HideonPlay.c4d

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×