Page 1 of 1

Bullet 2.66 released (minor fixes for 2.65)

Posted: Sat Dec 15, 2007 4:30 am
by Erwin Coumans
http://www.bulletphysics.com/Bullet/php ... =18&t=1783

Not all features made it, they will be added for next release. See the Bullet todo here

Thanks again for all your feedback and contributions, and happy holidays!
Erwin

Re: Bullet 2.66 released (minor fixes for 2.65)

Posted: Mon Dec 17, 2007 9:37 am
by Enrico
There is a typo in Extras/BulletMultiThreaded/SpuParallelSolver.cpp:31:

Code: Select all

#include "LinearMath/btQuickProf.h"
when it should be

Code: Select all

#include "LinearMath/btQuickprof.h"
Note the small 'p'-character in the second version. Or rename the mentioned header file ;)

Bug in convexTest stuff...

Posted: Wed Dec 19, 2007 1:35 am
by reltham
The convexTest hits a triangle mesh, the m_hitNormalLocal in the convexResult is already in world space, but the code in AddSingleResult() is transforming it again thinking it's not in worldspace (the bool param normalInWorldSpace is false).

Re: Bullet 2.66 released (minor fixes for 2.65)

Posted: Sun Feb 10, 2008 5:46 pm
by snowcat
reltham wrote:The convexTest hits a triangle mesh, the m_hitNormalLocal in the convexResult is already in world space, but the code in AddSingleResult() is transforming it again thinking it's not in worldspace (the bool param normalInWorldSpace is false).
I found this bug too. Cost me 2 days debug my program, and finally found that's a bug in Bullet. ( 2.67Alpha has this bug too.)

Code: Select all

bool	btContinuousConvexCollision::calcTimeOfImpact(
				const btTransform& fromA,
				const btTransform& toA,
				const btTransform& fromB,
				const btTransform& toB,
				CastResult& result)
{
....
				n = pointCollector.m_normalOnBInWorld;
....
		result.m_normal = n;
}
the normal is in world, but btCollisionWorld::objectQuerySingle call addsingleresult with wrong parameter when collisionShape->isConcave:

Code: Select all

							bool	normalInWorldSpace = false;
							return m_resultCallback->AddSingleResult(convexResult,normalInWorldSpace);
btw: I think btCollisionWorld::objectQuerySingle's code is copied from btCollisionWorld::rayTestSingle. But they have little different make this bug.

Re: Bullet 2.66 released (minor fixes for 2.65)

Posted: Mon Feb 11, 2008 7:17 pm
by John McCutchan
Thanks for the bug report. A fix has been committed to SVN.