More collide and bounce fun

shaihaludshaihalud Member Posts: 34
edited November -1 in Working with GS (Mac)
Right. So, I have the player walking around using the keyboard, and other various enemies walking around using their own random velocities. Everyone's restitution is set to 0. If they are still moving and collide, they don't bounce, as I set a rule to set velocity to 0 on (actor -> overlaps or collides with -> tag). But if I stop moving the player, and an enemy collides with them, the player gets bounced away. At first this happened to all the guys, so I set the enemies density to something ridiculously high (500), and the player to something ridiculously low (1). So now the player can't push around the enemies, but the enemies still push him. So I set the friction to something ridiculously high on the player (100), but it doesn't solve the problem. Most of the time the player doesn't move, but some times he will get whacked and just drift away... I thought setting restitution to 0 would solve this problem?
Sign In or Register to comment.