1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-21 23:54:20 +00:00
cinnos/Buccia.gd
2023-11-25 16:50:06 +01:00

8 lines
120 B
GDScript

extends Area3D
class_name Buccia
func _on_body_entered(body):
if body is Player:
body.velocity *= 2
queue_free()