i dont know how to play gifs here tell me?
so my problem is that the character (that is a CircleShape) keeps bouncing when i applyForce to center
and if i use a PolygonShape and set him to a box he keeps getting stuck, any idea why?
i dont know how to play gifs here tell me?
so my problem is that the character (that is a CircleShape) keeps bouncing when i applyForce to center
and if i use a PolygonShape and set him to a box he keeps getting stuck, any idea why?
have you tried setting the restitution value to 0 for both the circle and the ground?
i tried set it to 0 still CircleShape bonced alot =/
and the box keeps getting stuck
My guess is that your ground is made up of lots of boxes, and the circle bounces because due to inaccuracies it hits the corner of one of them, even if they are aligned. It would also explain why your box gets stuck, it gets caught of one of those corners. Using fewer static bodies should solve it.
lol i just solved the problem but thanks for the tip
for others that might have this problem ever
Look up EdgeShape