KinematicBodyTestMove Method |
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.
Namespace: Godot
public bool TestMove( Transform from, Vector3 relVec, bool infiniteInertia = true )
[Missing <param name="from"/> documentation for "M:Godot.KinematicBody.TestMove(Godot.Transform,Godot.Vector3,System.Boolean)"]
[Missing <param name="relVec"/> documentation for "M:Godot.KinematicBody.TestMove(Godot.Transform,Godot.Vector3,System.Boolean)"]
[Missing <param name="infiniteInertia"/> documentation for "M:Godot.KinematicBody.TestMove(Godot.Transform,Godot.Vector3,System.Boolean)"]
[Missing <returns> documentation for "M:Godot.KinematicBody.TestMove(Godot.Transform,Godot.Vector3,System.Boolean)"]