GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

The Random Function and Restitution

Hi, so right now I'm trying to make blocks bounce down a slope at random times and at random heights. I've been able to spawn the actors at random times but they all follow the same path. My problem is getting each of these actors to change to a random bounciness value. Any solution is greatly appreciated :)

Comments

  • ArmellineArmelline Posts: 4,616Member, PRO

    Since you cannot randomise the bounciness of the actors on the fly, you'd either need to spawn random different actors with different bounciness settings, or you'd need to apply a different randomising factor to them. How are you making them move? Can you randomise that a bit? Are you applying gravity game wide, or to the boxes? Can you randomise that a little?

Sign In or Register to comment.