Exception in StaticTriangleGroup.addAllNecessaryTriangles()
Posted: Sun Apr 05, 2009 8:28 pm
I'm having trouble with a StaticTriangleGroup throwing the following exception. This doesn't happen until contact has been made by another Entity. The STG is a simple 4x4 flat plane consisting of 25 vertices and 32 triangles. Any ideas? Thanks.
Object reference not set to an instance of an object.
at BEPUphysics.StaticTriangleGroup.addAllNecessaryTriangles()
at BEPUphysics.StaticTriangleGroup.updateBeforeCollisionDetection(Single dt, Single timeScale, Single timeSinceLastFrame)
at BEPUphysics.Space.updateBeforeCollisionDetectionUpdateables(Single dt, Single timeSinceLastFrame)
at BEPUphysics.Space.updateCCD(Single timeSinceLastFrame)
at BEPUphysics.Space.updateWithoutInternalTimeSteps(Single timeSinceLastFrame)
at BEPUphysics.Space.update(Single timeSinceLastFrame)
Object reference not set to an instance of an object.
at BEPUphysics.StaticTriangleGroup.addAllNecessaryTriangles()
at BEPUphysics.StaticTriangleGroup.updateBeforeCollisionDetection(Single dt, Single timeScale, Single timeSinceLastFrame)
at BEPUphysics.Space.updateBeforeCollisionDetectionUpdateables(Single dt, Single timeSinceLastFrame)
at BEPUphysics.Space.updateCCD(Single timeSinceLastFrame)
at BEPUphysics.Space.updateWithoutInternalTimeSteps(Single timeSinceLastFrame)
at BEPUphysics.Space.update(Single timeSinceLastFrame)