I've a CompositeObject and a TriMesh in MultiThreadedDemo.cpp. And I found a problem when MultiThread Support is enabled. (this happens only with CompositeObject)
Code: Select all
in SpuGatheringCollisionTask.cpp
void processCollisionTask(void* userPtr, void* lsMemPtr)
{
SpuGatherAndProcessPairsTaskDesc* taskDescPtr = (SpuGatherAndProcessPairsTaskDesc*)userPtr;
SpuGatherAndProcessPairsTaskDesc& taskDesc = *taskDescPtr;
CollisionTask_LocalStoreMemory* colMemPtr = (CollisionTask_LocalStoreMemory*)lsMemPtr;
CollisionTask_LocalStoreMemory& lsMem = *(colMemPtr);
.....
.....
}
And because of this, I'm hitting an assert //unsupported shapetype// in SpuCollisionShapes::getShapeTypeSize(..)
I'm pretty sure that my Composite Object is correct coz it works fine, when MultiThreadSupport is disabled.
What might be the cause?
Thanks,
Sandeep.