Answers for "get distance with raycast 2d godot"

0

get distance with raycast 2d godot

var origin = global_position
var collision_point = get_collision_point()
var distance = origin.distance_to(collision_point)
Posted by: Guest on July-28-2021

Browse Popular Code Answers by Language