Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: collision problem
PostPosted: Wed Aug 03, 2011 8:27 am 
Offline

Joined: Wed Aug 03, 2011 7:56 am
Posts: 2
hi, i'm new in bullet and i have some questions about collision.

1)if i create triangle mesh shape(btBvhTriangleMeshShape) from opengl mesh(array of triangle),the shape is centered?
i mean if the bounding box of the mesh is min(-5,0,-5),max(6,15,4) and position(0,20,0):
when i render with opengl the bounding box of the mesh will be the sum of the position and the bounding box,
but in bullet when i create btBvhTriangleMeshShape from the vertex array the bounding box will be min(-5.5,-7.5,-4.5),max(5.5,7.5,4.5) can i chane it? there are way to coordinate between bullet and opengl?
(the same "problem" exists in box shape too, the box is centered)
i try to add a factor vector to the position of the bodies and after the simulate when i get the current position decrease this vector, its almost work but not accurate.

2)btBvhTriangleMeshShape collide with another btBvhTriangleMeshShape? becouse in my program they not(BoxShape and CapsuleShape collide with btBvhTriangleMeshShape)


Top
 Profile  
 
 Post subject: Re: collision problem
PostPosted: Thu Aug 04, 2011 7:16 am 
Offline

Joined: Wed Aug 03, 2011 7:56 am
Posts: 2
never mind, i solved.

wow this forum is dead... :cry:


Top
 Profile  
 
 Post subject: Re: collision problem
PostPosted: Thu Aug 04, 2011 9:53 pm 
Offline

Joined: Tue Jul 19, 2011 4:08 pm
Posts: 15
Sad, isn't it? It's a shame, because the engine is quite well put together. The learning curve is fairly difficult, mostly because of spotty documentation. Other than that though, i'm not quite sure why it's always so...inactive. :?


Top
 Profile  
 
 Post subject: Re: collision problem
PostPosted: Fri Aug 05, 2011 3:33 am 
Offline

Joined: Sun Jul 31, 2011 11:20 pm
Posts: 28
Part of the issue may be that this isn't the right forum to post specific questions about bullet. You'll notice my post below this one as I posted here too, I don't expect any answers :wink:. I reported it in hope the mods will move it to the correct forum. The "feedback" forum seems to be where such questions are getting answers, the naming could be better if that is where one is to ask such things. The forum would benefit from a "Question and Answers" or "Support" topic group.


Top
 Profile  
 
 Post subject: Re: collision problem
PostPosted: Fri Aug 05, 2011 3:17 pm 
Offline

Joined: Tue Jul 19, 2011 4:08 pm
Posts: 15
I agree, naming could be better. Try re-posting the question in the feedback forum. I've been given help when I've posted in there. Note that it probably will still take a few days, though.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group