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 physicsprocess() 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?