Restitution Bug - Every bound the restitution became shorter...

scrapee_netscrapee_net Member Posts: 424
edited November -1 in Working with GS (Mac)
Hello. I started another game... I have a actor called for example "Man"that is drop from the top of the screen. Its restitution is set to 0... There is also a platform, with the restitution set to 0,6... So, when, that Man actor collides to the platsform, it bounces...

I have also a "controller"that spawns a "Man"actor every X seconds...

What happens, is that every Man spawned the bounce effect is shorter. So, after a few mans spawned looks that the restituition doesnt exist.

Comments

  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    for the bounce to always be the same, the restitution on both colliding actors has to be 1.
  • scrapee_netscrapee_net Member Posts: 424
    Hy CodeMonkey. I did what you said , but no success. The same happens...
  • HachikoHachiko Member Posts: 330
    Check that friction is set to 0 on both actors AND restitution to 1 on both, if I'm not wrong, friction does speed down a little the actor.
Sign In or Register to comment.