btBoxShape edge problem

O-san
Posts: 19
Joined: Mon May 11, 2009 8:46 am

btBoxShape edge problem

Post by O-san »

Hello!

I am having problems with btBoxShapes and edges. My world consists of many different sized btBoxShapes and my character is a cylinder that walks on top of them. When I move the cylinder around using setLinearVelocity it wobbles when it hits the edges of the ground boxes. Is this expected behavior?

My broad phase is btDbvtBroadphase and I use the default motionstate and collision configurations.

Any help appreciated.

[edit]The boxes are defined as static geometry, zero mass.[/edit]
O-san
Posts: 19
Joined: Mon May 11, 2009 8:46 am

Re: btBoxShape edge problem

Post by O-san »

I have minimized the problem a little bit by using a btcapsule instead of btcylinder. The problem remains however, although smaller. Is it a bad idea to create the world from different sized btboxes? Should I build the world in some other way? I would be grateful for any help on this.