常用方法
常用方法
常用方法
常用方法
public void cleanOverlappingPair(BroadphasePair pair, IDispatcher dispatcher) { if (pair.m_algorithm != null) { { /*pair.m_algorithm->~btCollisionAlgorithm(); dispatcher->freeCollisionAlgorithm(pair.m_algorithm); pair.m_algorithm=0;*/ dispatcher.freeCollisionAlgorithm(pair.m_algorithm); pair.m_algorithm = null; } } }