From a3154f7a5643331df6548f7db43540ccc7ae3f49 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Wed, 27 Jan 2016 13:36:33 -0800 Subject: [PATCH] use b3ConnectSharedMemory in PhysicsClient example, instead of b3ConnectPhysicsLoopback --- examples/SharedMemory/PhysicsClientExample.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/SharedMemory/PhysicsClientExample.cpp b/examples/SharedMemory/PhysicsClientExample.cpp index 307340382..c203a3b36 100644 --- a/examples/SharedMemory/PhysicsClientExample.cpp +++ b/examples/SharedMemory/PhysicsClientExample.cpp @@ -445,8 +445,8 @@ void PhysicsClientExample::initPhysics() m_selectedBody = -1; m_prevSelectedBody = -1; - //m_physicsClientHandle = b3ConnectSharedMemory(m_sharedMemoryKey); - m_physicsClientHandle = b3ConnectPhysicsLoopback(SHARED_MEMORY_KEY); + m_physicsClientHandle = b3ConnectSharedMemory(m_sharedMemoryKey); + //m_physicsClientHandle = b3ConnectPhysicsLoopback(SHARED_MEMORY_KEY); //m_physicsClientHandle = b3ConnectPhysicsDirect(); if (!b3CanSubmitCommand(m_physicsClientHandle))