Box2d body Jitter -


i developing box2d game. world's scale set @ 30 units 1 meter. body size 1 meter. other parameters: density = 1; friction = 0.5f; restitution - 0.5f. found object has been @ constant angular velocity after collision. found bodies jitter. different body paramenters lead different performance. why think case?

if right 2 bodies colliding , on collision body penetrates body b sticking , causes odd behaviour ? assuming understood right saying problem quite common. happens between dynamic bodies. solution set main body bullet. turn ccd, continuos collision detection, expensive in way perform collision detection on body every frame , not when body aabb's overlap other body. set on bodies think need it, instance if doing golf game set on golf ball.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -