Jump to content
Sign in to follow this  
Scott Williams

Link Object Rotation to Material Value

Recommended Posts

I have a Mixamo animation of a walking cycle and I have an object that I want to change colors based on the rotation value of the hips.  ie- object turns blue when left foot is planted and red when right foot planted.

 

I was using this video as a base, but don't know how to use a change of rotation value to trigger material value change.  

 

How do I link a delta in rotation to trigger material value?

 

Thanks

Share this post


Link to post

Here's some ideas for you. A flipflop changes color when tilt threshold is exceeded.

 

flipflop.c4d

Share this post


Link to post
  • Topic Author
  • Author of the topic Posted

    Wow, Jed.  This is phenomenal.  Totally awesome.  
    I have never considered the Negate node before and am going to have to spend some time wrapping around what is going on here.

     

    Thanks for assembling that and sending it over.  Totally cool

    Share this post


    Link to post

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    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.

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×
    ×
    • Create New...

    FORUMS INFO:

    Dear members, we are aware of few more bugs that are still present withing the theme.We just wanted to let you know that we are working to fix them as soon as possible.
     

    NEW MEMBERS:

    Please be aware that we are manually approving all new registrations, due to spam prevention. Please be patient in case you cannot login right away, we will approve you within 12h or less if we decide you are not potential spammer. 

     

    Thanks for understanding! :cowboypistol: