Function KinematicBody.testMove

Checks for collisions without moving the body. Virtually sets the node's position, scale and rotation to that of the given Transform, then tries to move the body along the vector rel_vec. Returns true if a collision would occur.

bool testMove (
  const(Transform) from,
  const(Vector3) rel_vec,
  const(bool) infinite_inertia = true
) nothrow @nogc;