public void RegisterCollisionCreateFunc(BroadphaseNativeType proxyType0, BroadphaseNativeType proxyType1, CollisionAlgorithmCreateFunc createFunc)
		{
            if (_collisionCreateFuncs == null)
            {
                _collisionCreateFuncs = new List<CollisionAlgorithmCreateFunc>();
            }
            _collisionCreateFuncs.Add(createFunc);

			btCollisionDispatcher_registerCollisionCreateFunc(_native, proxyType0, proxyType1, createFunc._native);
		}
        public void RegisterClosestPointsCreateFunc(BroadphaseNativeType proxyType0, BroadphaseNativeType proxyType1, CollisionAlgorithmCreateFunc createFunc)
        {
            if (_collisionCreateFuncs == null)
            {
                _collisionCreateFuncs = new List <CollisionAlgorithmCreateFunc>();
            }
            _collisionCreateFuncs.Add(createFunc);

            btCollisionDispatcher_registerClosestPointsCreateFunc(Native, proxyType0,
                                                                  proxyType1, createFunc.Native);
        }