Search found 5 matches

by whitwhoa
Thu Jun 13, 2019 4:22 pm
Forum: General Bullet Physics Support and Feedback
Topic: Collision shapes appear to have boxes around them
Replies: 4
Views: 387

Re: Collision shapes appear to have boxes around them

The enum values are powers of 2 and represent binary bits in a numerical value. Multiple modes can be enabled by setting more than one bit. You were returning 3 = 1 + 2 which is both DBG_DrawWirefram e and DBG_DrawAabb . :!: NOW it makes sense! I have never really had a need for bitshifting / bitwi...
by whitwhoa
Thu Jun 13, 2019 1:44 pm
Forum: General Bullet Physics Support and Feedback
Topic: Collision shapes appear to have boxes around them
Replies: 4
Views: 387

Re: Collision shapes appear to have boxes around them

It probably represents the bounding box of the object in the broadphase, which I think can be enabled/disabled but must somehow be enabled for you. This pointed me in the right direction! Greatly appreciated. The issue was from my lack of implementing `setDebugMode` and `getDebugMode` specifically ...
by whitwhoa
Wed Jun 12, 2019 11:42 pm
Forum: General Bullet Physics Support and Feedback
Topic: Collision shapes appear to have boxes around them
Replies: 4
Views: 387

Collision shapes appear to have boxes around them

Would anyone happen to know why that when I draw my collision objects I'm seeing boxes around them? https://stashcube.com/stackexamples/boxes_around_collision_shapes.jpg The following is how I have created my collision world and added the objects to it: bt_collision_configuration = new btDefaultColl...
by whitwhoa
Wed Jun 12, 2019 11:33 pm
Forum: General Bullet Physics Support and Feedback
Topic: What are parameters worldAabbMin & worldAabbMax
Replies: 2
Views: 336

Re: What are parameters worldAabbMin & worldAabbMax

Thank you for the explanation. That makes total sense :)
by whitwhoa
Tue Jun 11, 2019 7:42 pm
Forum: General Bullet Physics Support and Feedback
Topic: What are parameters worldAabbMin & worldAabbMax
Replies: 2
Views: 336

What are parameters worldAabbMin & worldAabbMax

In regards to broadphase method: bt32BitAxisSweep3::bt32BitAxisSweep3 ( const btVector3 & worldAabbMin, const btVector3 & worldAabbMax, unsigned int maxHandles = 1500000, btOverlappingPairCache * pairCache = 0, bool disableRaycastAccelerator = false ) What exactly are parameters worldAabbMin and wor...