diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index 28ed1a81d..68f30944a 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -4083,6 +4083,7 @@ void PhysicsServerCommandProcessor::createDefaultRobotAssets() } //directly set the position of the links, only for debugging IK, don't use this method! +#if 0 if (0) { for (int i=0;igetNumLinks();i++) @@ -4091,6 +4092,7 @@ void PhysicsServerCommandProcessor::createDefaultRobotAssets() mb->setJointPosMultiDof(i,&desiredPosition); } } else +#endif { int numMotors = 0; //find the joint motors and apply the desired velocity and maximum force/torque