KinematicBody2D.testMove

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

struct KinematicBody2D
@nogc nothrow
bool
testMove
(
in Transform2D from
,
in Vector2 rel_vec
,)

Meta