diff --git a/examples/SharedMemory/PhysicsClientC_API.cpp b/examples/SharedMemory/PhysicsClientC_API.cpp index 87276b264..2db272fa8 100644 --- a/examples/SharedMemory/PhysicsClientC_API.cpp +++ b/examples/SharedMemory/PhysicsClientC_API.cpp @@ -372,9 +372,6 @@ B3_SHARED_API int b3LoadSoftBodyAddGravityForce(b3SharedMemoryCommandHandle comm { struct SharedMemoryCommand* command = (struct SharedMemoryCommand*)commandHandle; b3Assert(command->m_type == CMD_LOAD_SOFT_BODY); - command->m_loadSoftBodyArguments.m_gravity[0] = gravityX; - command->m_loadSoftBodyArguments.m_gravity[1] = gravityY; - command->m_loadSoftBodyArguments.m_gravity[2] = gravityZ; command->m_updateFlags |= LOAD_SOFT_BODY_ADD_GRAVITY_FORCE; return 0; }