diff --git a/examples/SharedMemory/PhysicsClientC_API.cpp b/examples/SharedMemory/PhysicsClientC_API.cpp index 967feaa77..3a0a8b994 100644 --- a/examples/SharedMemory/PhysicsClientC_API.cpp +++ b/examples/SharedMemory/PhysicsClientC_API.cpp @@ -1438,6 +1438,7 @@ B3_SHARED_API int b3CreateCollisionShapeAddCapsule(b3SharedMemoryCommandHandle c command->m_createUserShapeArgs.m_shapes[shapeIndex].m_collisionFlags = 0; command->m_createUserShapeArgs.m_shapes[shapeIndex].m_visualFlags = 0; command->m_createUserShapeArgs.m_shapes[shapeIndex].m_hasChildTransform = 0; + command->m_createUserShapeArgs.m_shapes[shapeIndex].m_hasFromTo = 0; command->m_createUserShapeArgs.m_shapes[shapeIndex].m_capsuleRadius = radius; command->m_createUserShapeArgs.m_shapes[shapeIndex].m_capsuleHeight = height; command->m_createUserShapeArgs.m_numUserShapes++;