Closed GoogleCodeExporter closed 9 years ago
crash when the main loop stepSimulation()
Original comment by lin...@gmail.com
on 27 Jan 2011 at 5:51
This happens when there are no points in the convex hull shape, or
uninitialized data.
Can you double check your input, or attach a .bullet file to this topic?
See here how to create a .bullet file:
http://bulletphysics.org/mediawiki-1.5.8/index.php/Bullet_binary_serialization
Original comment by erwin.coumans
on 27 Jan 2011 at 7:31
[deleted comment]
i had initilized data.
what no points in the convex hull shape means?
Original comment by lin...@gmail.com
on 30 Jan 2011 at 1:43
Attachments:
thanks for you reply. i had upload my bullet file.
Original comment by lin...@gmail.com
on 30 Jan 2011 at 1:44
It means that there is an empty btConvexHullShape, that contains 0
points/vertices.
Original comment by erwin.coumans
on 3 Feb 2011 at 6:29
but how to find this shape?
Original comment by lin...@gmail.com
on 6 Feb 2011 at 12:10
Can you add an assert in the btConvexHullShape.cpp, like this
btConvexHullShape ::btConvexHullShape (const btScalar* points,int numPoints,int
stride) : btPolyhedralConvexAabbCachingShape ()
{
btAssert(numPoints>0);
Then run your app in debug mode. You can also add the assert for numpoints>0 in
your code.
Original comment by erwin.coumans
on 21 Feb 2011 at 7:35
Please discuss it in the forums, this is not a bug in the SDK but in user code.
Original comment by erwin.coumans
on 27 Feb 2011 at 3:36
Original issue reported on code.google.com by
lin...@gmail.com
on 27 Jan 2011 at 5:30