diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index 1ced08f42..8807bbed7 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -11012,6 +11012,7 @@ bool PhysicsServerCommandProcessor::processApplyExternalForceCommand(const struc } } +#ifndef SKIP_SOFT_BODY_MULTI_BODY_DYNAMICS_WORLD if (body && body->m_softBody) { btSoftBody* sb = body->m_softBody; @@ -11034,6 +11035,8 @@ bool PhysicsServerCommandProcessor::processApplyExternalForceCommand(const struc } } } +#endif + } SharedMemoryStatus& serverCmd = serverStatusOut;