Community
void MyDevice::DeviceIONotify( kDeviceIOs pAction,FBDeviceNotifyInfo &pDeviceNotifyInfo)
{
HFBModel testA = new FBModel("TestA");
HFBModel testB = new FBModel("TestB");
testB->Parent = testA; //this line interrupt the code evaluation
}
This is an old post, but still may be usefull to someone.
DeviceIONotify is call for each Frame. If you change the relation between the objects at every frame, MoBu surely gets mixed up (I understand it splits the scene graph into different independent subgraphs --the DAGs -- and evaluates them in paralellel for performance).
Can't find what you're looking for? Ask the community or share your knowledge.