I'm trying to follow the 2.0.1 Manual on filtering and the b2World::Refilter() function doesn't appear to exist. How do I tell the engine to refilter a shape once I've made a modification in runtime?
So far I have:
Thoughts?
[It appears that b2World::Refilter() was added in 2.0.1. Any known workarounds outside of redefining the shape?]
So far I have:
Code:
circle.m_groupIndex = -1;
circle.m_categoryBits = 1;
circle.m_maskBits = 0;
boxWorld.Refilter(); // Refilter to clear the cache. <--- DOES NOT EXIST.
circle.m_categoryBits = 1;
circle.m_maskBits = 0;
boxWorld.Refilter(); // Refilter to clear the cache. <--- DOES NOT EXIST.
Thoughts?
[It appears that b2World::Refilter() was added in 2.0.1. Any known workarounds outside of redefining the shape?]