filmore
05-06-2011 14:07:05
I'm trying to add a point2point constraint to an object during simulation, but it causes a crash. My code creates a constraint whenever the object comes in contact with another object at the point of contact.
I get this error:
constraint = bullet.btPoint2PointConstraint(self.object.rb.mRigidBody,ptA)
self.dynamicsWorld.addConstraint(constraint) # Causes Crash
I get this error:
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Python27\pythonw.exe
R6025
- pure virtual function call