My character run through the wall in high speed
Posted: Mon Aug 27, 2012 8:17 am
Hi
I'm working on a racing game with quite traditional scene, I have a main character and track.
I'm now testing my game using box shape for my character, and btScaledBvhTriangleMeshShape for track wall. The problem is when my character move in a relatively high speed and touch the side wall, it can go through it I've tested the shape is correct and it works perfectly when the speed is low.
I haven't looked into bullet codes, and my guess is the character crossed the wall between 2 collision calculation, but I don't know how to avoid it.
Anyone pls help ~
Thanks in advance,
-Yi
I'm working on a racing game with quite traditional scene, I have a main character and track.
I'm now testing my game using box shape for my character, and btScaledBvhTriangleMeshShape for track wall. The problem is when my character move in a relatively high speed and touch the side wall, it can go through it I've tested the shape is correct and it works perfectly when the speed is low.
I haven't looked into bullet codes, and my guess is the character crossed the wall between 2 collision calculation, but I don't know how to avoid it.
Anyone pls help ~
Thanks in advance,
-Yi