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

9 lines
120 B
GDScript3
Raw Normal View History

2023-11-25 15:34:49 +00:00
extends Area3D
2023-11-25 15:50:06 +00:00
class_name Buccia
2023-11-25 15:34:49 +00:00
func _on_body_entered(body):
if body is Player:
2023-11-25 15:50:06 +00:00
body.velocity *= 2
queue_free()