/* * example usage: * [API.MonoPInvokeCallback (typeof (API.SHOULDCOLLIDECALLBACK))] public static bool ShouldCollide( IntPtr f1, IntPtr f2 ) { return true; } API.CreateContactFilter( world, new API.SHOULDCOLLIDECALLBACK( ShouldCollide ) ); */ public static void CreateContactFilter( IntPtr world, API.SHOULDCOLLIDECALLBACK cb ) { API.SetContactFilter(world, cb ); }