Esempio n. 1
0
        public ContactListener()
        {
            functions = new cb2contactlistener();
            functions.BeginContact = BeginContactInternal;
            functions.EndContact = EndContactInternal;
            functions.PreSolve = PreSolveInternal;
            functions.PostSolve = PostSolveInternal;

            _listener = NativeMethods.cb2contactlistener_create(functions);
        }
Esempio n. 2
0
        public ContactListener()
        {
            functions = new cb2contactlistener();
            functions.BeginContact = BeginContactInternal;
            functions.EndContact   = EndContactInternal;
            functions.PreSolve     = PreSolveInternal;
            functions.PostSolve    = PostSolveInternal;

            _listener = NativeMethods.cb2contactlistener_create(functions);
        }
Esempio n. 3
0
 public static extern IntPtr cb2contactlistener_create(cb2contactlistener functions);
Esempio n. 4
0
 public static extern IntPtr cb2contactlistener_create(cb2contactlistener functions);