In b2BroadPhase::CreateProxy, it seems we put everything into m_moveBuffer unconditionally by calling BufferMove() function.
int32 b2BroadPhase::CreateProxy(const b2AABB& aabb, void* userData)
{
int32 proxyId = m_tree.CreateProxy(aabb, userData);
++m_proxyCount;
BufferMove(proxyId);
return proxyId;
}
Should we only put dynamic bodies in it? Is it what the name "move buffer" mean?
int32 b2BroadPhase::CreateProxy(const b2AABB& aabb, void* userData)
{
int32 proxyId = m_tree.CreateProxy(aabb, userData);
++m_proxyCount;
BufferMove(proxyId);
return proxyId;
}
Should we only put dynamic bodies in it? Is it what the name "move buffer" mean?