I find that when working with the btCylinderShape, the AABB I'm getting is very noisy and inaccurate. Everything thing appears fine when the object is resting on one of it's flat faces, but as soon as it starts to round around, the AABB appears to pulsate and certainly not being of minimal size with respect to the location of the solid...
This can be easily replicated in BasicDemo by modifying the one line that selects to use btBoxShape by default (line 146):
- btBoxShape* colShape = new btBoxShape(btVector3(SCALING*1,SCALING*1,SCALING*1));
+ btCylinderShape* colShape = new btCylinderShape(btVector3(SCALING*1,SCALING*1,SCALING*1));
Rebuilding the demo and turning on AABB rendering using the 'a' key, shows what I am talking about, as does this video on youtube: http://www.youtube.com/watch?v=Lxv19S1Ez88
Any thoughts, advice or similar stories?
Is calculation/rendering of AABB for Cylinder inaccurate?
-
- Posts: 33
- Joined: Fri Oct 26, 2012 1:50 pm
-
- Posts: 33
- Joined: Fri Oct 26, 2012 1:50 pm
Re: Is calculation/rendering of AABB for Cylinder inaccurate
bump! can someone please comment on this?