Box collision with triangle mesh

Post Reply
dcteris
Posts: 1
Joined: Sun May 10, 2009 9:40 am

Box collision with triangle mesh

Post by dcteris »

:shock: Hello everybody here!
I made a program using bullet, bullet is very powerful ! But I got a problem, I created a scene with loading a terrain, using btBvhTriangleMeshShape, and place
some boxes on it. when box's size all greater than 1.0f, the boxes will collide with the terrain, when boxes' size is less than 1.0f, they won't collide with the terrain!
How can I get them to work correctly?
Thanks a lot guys!
User avatar
kenshin
Posts: 36
Joined: Fri Oct 31, 2008 5:10 pm
Contact:

Re: Box collision with triangle mesh

Post by kenshin »

I have this problem ,too
what‘s to be done?
User avatar
kenshin
Posts: 36
Joined: Fri Oct 31, 2008 5:10 pm
Contact:

Re: Box collision with triangle mesh

Post by kenshin »

dcteris wrote::shock: Hello everybody here!
I made a program using bullet, bullet is very powerful ! But I got a problem, I created a scene with loading a terrain, using btBvhTriangleMeshShape,
not btBvhTriangleMeshShape,you should use btHeightfieldTerrainShape.

My scene must use btHeightfieldTerrainShape,It has this problem which can not be avoided.

I use the VehicleRaycast,the car travel on the btBvhTriangleMeshSHape ,even flat ground,
the car still like hit something.

I have try to detailing the scene's mesh triangle (one triangle separate into three)
but still useless.

can anybody help?

thanks,Kenshin
User avatar
projectileman
Posts: 109
Joined: Thu Dec 14, 2006 4:27 pm
Location: Colombia
Contact:

Re: Box collision with triangle mesh

Post by projectileman »

Check this topic, there is a solution:
http://bulletphysics.com/Bullet/phpBB3/ ... f=9&t=3701
Post Reply