extends Area3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
$Label3DDICEIMBECIL.rotate_y(delta * 1.9)
pass
func _on_area_entered(area):
var escala_actual = $Label3DDICEIMBECIL.scale
$Label3DDICEIMBECIL.scale = escala_actual * 18.0
var parent = get_parent()
var Turbo = parent.get_node("$SoftBody3Dvestido")
$SoftBody3Dvestido.queue_free()
$CollisionShape3Dquieroborrartambien.queue_free()
pass # Replace with function body.
-----------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Exlicacion: desde enlace muy buenos estos scripts...https://videojuegosenlineaasaco4.blogspot.com/2024/04/borrar-elementos-concretos-de-un-area3d_21.html