cODEGenericBody
21 Apr 2017 21:20 #1
Hi,
I'm using cODEGenericBody objects to put in my environment but they slow down the haptic interfaces movements. I would use the ghost object in order to replace cODEGenericBody things. Could I do it? if YES, How can I do?
cCreateSphere(imgTool, 0.01);
//imgTool = cShapeSphere (1);
cCreateCylinder(imgTool_c, 0.05, 0.007);
for (int j = 0; j < 5; j++) {
for (int i = 1; i < 2;i++) {
myHand.fingers[j].ODElinks = new cODEGenericBody(ODEWorld);
myHand.fingers[j].ODElinks->setImageModel(imgTool_c);
myHand.fingers[j].ODElinks->createDynamicMesh(true);
}
}
Thanks,
Sam
Please Log in or Create an account to join the conversation.