Jump to content

Sign in to follow this  
csbeltram

Random initial velocity?

Recommended Posts

Hello, I'm trying to set up a dynamic cloner grid where each clone starts at the ground and has a random initial velocity so they all "jump" at different speeds. I've poked around in xpresso with no luck. Any help would be appreciated. Thank you.

Share this post


Link to post
Share on other sites

Hi,

You could use Shader Effector  with position parameter altered and animate it's strength over short time - 2-3 seconds. In Dynamics body tag set Trigger to: At Velocity Peak.

Hope that helps

 

 

Share this post


Link to post
Share on other sites

Perfect use case for Field force. See attached scene. The formula is just there to stop adding velocity after 0.1 seconds. But you could do that with a keyframe, too. 

Custom_velocity_via_fields.c4d

Share this post


Link to post
Share on other sites
  • Topic Author
  • @Voytech - Thank you so much! I knew there had to be a simple solution I was missing. This worked great.

    So here's another question then. Suppose I want to trigger them with a Ghost Dynamic object. Is there a way to not have the shader effector keyframes affect it till it's triggered by the ghost object? So it could be more art directable?

     

    @Havealot - Thank you for the suggestion. I was wondering if there could be something in R21 that would help. Unfortunately the powers-that-be haven't sprung for the upgrade.

    Share this post


    Link to post
    Share on other sites

    I'm not sure about ghost Dynamics, but again,  effector itself can be a trigger. Give it some Falloff and bring the strength at 100 %.

     

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • @Voytech Thank you again so much. This is perfect! Not sure why I'm trying to make it so much harder than it actually is. 🤣

    Share this post


    Link to post
    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.

    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...