Search found 5 matches

by jdoriang
Sat Jun 17, 2017 7:13 am
Forum: General Bullet Physics Support and Feedback
Topic: Error Overflow in AABB, object removed from simulation
Replies: 3
Views: 6256

Error Overflow in AABB, object removed from simulation

Hi I am using btGImpact and am running into the following error. When using other collision shapes the error does not occur. Any idea what is causing this and how to fix it Thank you Rupert static bool reportMe = true; if (reportMe && m_debugDrawer) { reportMe = false; m_debugDrawer->reportE...
by jdoriang
Fri Jun 16, 2017 10:46 pm
Forum: General Bullet Physics Support and Feedback
Topic: looking for working code to create btGImpactMeshShape
Replies: 1
Views: 3445

looking for working code to create btGImpactMeshShape

Hi I am unable to get working collisions using btGImpactShape. Maybe I doing the construction incorrectly. debugDrawer does not draw any shapes and there are no collisions (when there should be!). Here is my code : btTriangleMesh *mTriMesh = new btTriangleMesh(true, false); for (int i = 0; i < m_Ent...
by jdoriang
Fri Jun 16, 2017 10:44 pm
Forum: General Bullet Physics Support and Feedback
Topic: looking for working code to create btGImpactMeshShape
Replies: 0
Views: 3048

looking for working code to create btGImpactMeshShape

Hi I am unable to get working collisions using btGImpactShape. Maybe I doing the construction incorrectly. debugDrawer does not draw any shapes and there are no collisions (when there should be!). Here is my code : btTriangleMesh *mTriMesh = new btTriangleMesh(true, false); for (int i = 0; i < m_Ent...
by jdoriang
Fri Jun 16, 2017 8:26 pm
Forum: General Bullet Physics Support and Feedback
Topic: btConvexHullShape not detecting collisions
Replies: 3
Views: 3643

Re: btConvexHullShape not detecting collisions

Thank you so much. It looks fine in debugdrawer.

Does it still not work if I am using shape->initializePolyhedralFeatures(); ?

Which approach would you recommend as alternative in terms of speed/ease of use ? btBvhTriangleMeshShape or btCompoundShape ?

Thanks

Greetings, Rupert
by jdoriang
Fri Jun 16, 2017 2:28 pm
Forum: General Bullet Physics Support and Feedback
Topic: btConvexHullShape not detecting collisions
Replies: 3
Views: 3643

btConvexHullShape not detecting collisions

Hi I am experiencing a problem that colliding with certain btConvexHullShapes does not trigger a contact. The famous suzanne and teapot objects work when using below method. When using a plane with a hole inside it does not work. If that cannot work please let me know. What I want to achieve is flyi...