Hello all,
When I use the similar code as TestCpp, I got this error. What’s wrong?
error: no matching function for call to 'cocos2d::extension::CCColliderFilter::CCColliderFilter(ColliderType)'
My code
CCColliderFilter filter = CCColliderFilter(eEnemyTag);
enemy->setColliderFilter(&filter);