Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D adding random values to voronoi fracture elements

  • adding random values to voronoi fracture elements

    Posted by Lachlan Westfall on June 25, 2019 at 1:54 am

    VF elements a dynamics tag have values such as “initial velocity”. This number applies to all elements. What’s the simplest technique for adding some randomness to those values so each element has a different speed? I’m getting familiar with XPresso. Does this involve getting the index number of each element and randomly setting the value? If so, I want to set and INITAL random value, not something that changes each frame. Suggestions welcome. Thanks.

    Cody Beltram replied 6 years, 9 months ago 3 Members · 3 Replies
  • 3 Replies
  • Brian Jones

    June 25, 2019 at 3:00 pm

    VF elements a dynamics tag = Voronoi Fracture elements with a dynamics tag? If that’s correct, fractures fit together really tightly so how could you add different initial velocities to the pieces? They would just get stopped by their neighboring pieces. Are you looking to randomize the break-up the fracture?
    If that’s not it at all what are you trying to do?

  • Lachlan Westfall

    June 26, 2019 at 3:54 am

    I was trying to make the question more “general” about adding randomness to any VF/Dynamic variable. Specifically, what I have is an object that is fractured with all pieces static. I then want to move the object and have each fractured piece respond differently to that movement. i.e. some follow faster and some follow slower. I want to add some variability to the amount of drag, if that makes sense. I’m getting close to what I want via the “follow position”, “drag” and “lift” variables, but I’d still like to know how to feed an initial random number into any VF or dynamic parameter.

  • Cody Beltram

    November 20, 2019 at 9:48 pm

    Did you ever find a solution to this or other tricks? I’m trying to figure out the same thing of how to set a random initial rotation. For example, I’m fracturing a floor and triggering with a ghost object so I can control exactly where and when it explodes/crumbles. But I want some chaos to it with some randomness to the initial rotation and velocity.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy