How to deal with jerking and penetration?

Post Reply
Chaz
Posts: 44
Joined: Mon Jan 12, 2015 1:36 pm

How to deal with jerking and penetration?

Post by Chaz »

Yo. Nowadays I try to create a terrain using HeightfieldTerrainShape class. Actually I working with Jbullet but one good man has implemented that class for me.
So my problem is.. When objects moving in direction of terrain slowly, they are collide good. But if their speed will grow, then they are moving through terrain.
If set margin of terrain to 0.25, for example, then objects are not moving through terrain, but they are doing 'jerking' on the terrain surface.
You can see video here
http://youtu.be/06lcP-HtE7U
How to fix it?
p.s. sry for my bad eng
Chaz
Posts: 44
Joined: Mon Jan 12, 2015 1:36 pm

Re: How to deal with jerking and penetration?

Post by Chaz »

Linear damping helps me to solve that problem. Is it good solution?
Post Reply