A Minecraft style clone in Godot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

12 lines
268 B

extends RayCast3D
func _process(_delta: float) -> void:
if is_colliding():
var collider: Object = get_collider()
if collider is Block:
var id: String = collider.get_id()
Waila.ref.hook_target(id)
else:
Waila.ref.release_target() # Not seeing anything