Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Zszen John |
the velocity only direct fly to right (gravity=0), I can only rotate it with transfrom. Is it ok ?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Zszen John |
the velocity only direct fly to right (gravity=0), I can only rotate it with transfrom. Is it ok ?
Reply From: | kidscancode |
Rotating the Particles2D node is the correct way to do this.
But try it don’t work
Zszen John | 2019-06-07 06:27
How did it “not work”? Particles are going to the right, I rotate the node, now they’re going up.
kidscancode | 2019-06-07 14:21
Reply From: | Xrayez |
You could also try to control any particles properties from script (including velocity):
$particles.process_material.<your_property_here> = <value>
You should probably set local_coords = false
too for particles to act in global space.