Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | roma |
Godot how to configure particle behavior?
I have the following code for the KinematicBody of the smoke particle:
var camera_base_basis = self.get_global_transform().basis
var direction = Vector3()
direction -= camera_base_basis.x
velocity.x = direction.x * speed
velocity.y += Up_speed * delta
velocity = move_and_slide(velocity, Vector3.UP)
But there is another one:
translation -= global_transform.basis.z * speed * delta
(All this in the _physics_process() loop)
Is it possible to implement this behavior? And even more so, how to make the particle appear to have a random rotation in X, Y and Z?
Are you asking if it’s possible to implement this behviour using a Particles3D node?
Haydoggo | 2023-01-23 21:04
Yes, I want know how to do this inplement behavior.
roma | 2023-01-30 14:15