system
February 20, 2018, 12:43pm
1
Attention
Topic was automatically imported from the old Question2Answer platform.
Asked By
arthurZ
Hi, I’m following a tutorial from godot 2.1.4, and I want to know if there is a direction property in godot 3 too. Cause I have used the search but found nothing like that.
Image from godot 2.1.4.
Thank you.
As a workaround I rotated its Node2D transform to get the right emission direction, though this can cause headaches if you have a box/rectangle emission shape.
jarlowrey | 2018-02-20 15:50
system
February 20, 2018, 1:55pm
2
Reply From:
volzhs
it’s reported on github also.
opened 09:36PM - 01 Dec 17 UTC
closed 09:33AM - 02 Jul 19 UTC
enhancement
topic:rendering
good first issue
usability
**Operating system or device, Godot version, GPU Model and driver (if graphics r… elated):**
Godot 3.0 Beta - Windows
**Issue description:**
It's no longer possible to specify the direction of Initial Velocity for particles it seems. I have to rotate the Particles2D object itself and change the particle angle to offset this. If I'm using gravity I also have to alter this based on whatever rotation I am currently using. It's really quite cumbersome.
Could this property be added back please? It's quite important for users who make heavy use of particles, like me.
i think it’s not implemented yet.
system
February 20, 2018, 1:56pm
3
Reply From:
Zylann
In Godot 3, particles are simulated with a ParticlesMaterial
. Once you assigned one to the Particles
node, you can change properties there.
However it doesn’t seem to have a direction property, so I assume it uses the Z axis as emission direction.
BUT in 2D, they emit to the X axis by default.
I was wondering what the z-axis was for! Are you sure it’s emission direction, or is it ordering or something like that?
jarlowrey | 2018-02-20 15:49
Oh hang on, are you using Particles2D
? If yes, they don’t have Z axis (Z-order is something else), so they emit on the X axis by default.
Zylann | 2018-02-20 21:51