Mostrando entradas con la etiqueta extends CPUParticles3D. Mostrar todas las entradas
Mostrando entradas con la etiqueta extends CPUParticles3D. Mostrar todas las entradas

lunes, 25 de noviembre de 2024

extends CPUParticles3D, GDScript rota el plano de particulas constantemente; para conseguir efectos;

 extends CPUParticles3D



# Called when the node enters the scene tree for the first time.

func _ready() -> void:


pass # Replace with function body.



# Called every frame. 'delta' is the elapsed time since the previous frame.

func _process(delta: float) -> void:

rotate_z(1.2)

pass


--------------------------------------------------------

otro ejemplo en otro eje

----------------------------------------------------------

extends CPUParticles3D



# Called when the node enters the scene tree for the first time.

func _ready() -> void:


pass # Replace with function body.



# Called every frame. 'delta' is the elapsed time since the previous frame.

func _process(delta: float) -> void:

rotate_x(2)

pass

-----------------------------------------
otro ejemplo mas en los 3 ejes x,z,y
----------------------------------------------


extends CPUParticles3D


# Called when the node enters the scene tree for the first time.
func _ready() -> void:

pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
rotate_z(1.4)
rotate_x(1.7)
rotate_y(1.1)
pass