extends CPUParticles3D
var rotation_speed : float = 2.0 # Velocidad de rotación en radianes por segundo
func _ready() -> void:
pass
func _process(delta: float) -> void:
rotate_y(rotation_speed * delta)
------------------------------------------------------------------------
otro ejemplo ampliando en eje "x"
---------------------------------------------------------------------------
extends CPUParticles3D
var rotation_speed : float = 2.0 # Velocidad de rotación en radianes por segundo
func _ready() -> void:
pass
func _process(delta: float) -> void:
rotate_y(rotation_speed * delta)
rotate_x(rotation_speed * delta)