Hero seems to stutter the game when colliding....

chaleychaley Member, PRO Posts: 226
edited February 2012 in Working with GS (Mac)
My hero collides with various objects in my endless runner game. Sometimes, the collision makes the camera stutter for a second. I've set all of the objects except the hero to: density 0, friction 0, and restitution to 0. I made the hero's density 10, friction 0, restitution 0

The weird part is that it's not a consistent problem. Sometimes it happens... Sometimes not.

Comments

  • butterbeanbutterbean Member Posts: 4,315
    Does the camera stutter when the hero doesn't collide with objects? Try testing that out.

    Also, in the hero, you may need to turn the friction down a bit, as well as the restitution. Try tweaking those numbers, and see if that helps :)
  • chaleychaley Member, PRO Posts: 226
    Nope... the camera is OK when the hero isn't colliding. The hero's friction is set to 0 and I made the density value 10. Maybe I need to lower that. I'll do some tests. Thanks for the response.
Sign In or Register to comment.