static extern void btDiscreteDynamicsWorld_setNumTasks(IntPtr obj, int numTasks); [DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]