getNewPosition abstract method

void getNewPosition(
  1. Vector3 position,
  2. Vector3 displacement,
  3. Collider collider,
  4. num maximumRetry,
  5. AbstractMesh excludedMesh,
  6. void onNewPosition(
    1. num collisionIndex,
    2. Vector3 newPosition,
    3. AbstractMesh collidedMesh
    ),
  7. num collisionIndex,
)

Implementation

void getNewPosition(Vector3 position, Vector3 displacement, Collider collider, num maximumRetry, AbstractMesh excludedMesh, void Function(num collisionIndex, Vector3 newPosition, AbstractMesh collidedMesh) onNewPosition, num collisionIndex);