Allow negative scale in Particles and CPUParticles

This can be used to make 2D particles look more 3D-y with thoughtful use
of scale curve animation.
This commit is contained in:
Hugo Locurcio
2021-10-15 18:35:33 +02:00
parent c15143e316
commit c4a3560884
6 changed files with 12 additions and 15 deletions

View File

@@ -269,7 +269,7 @@
Emission lifetime randomness ratio.
</member>
<member name="scale_amount" type="float" setter="set_param" getter="get_param" default="1.0">
Initial scale applied to each particle.
Initial scale applied to each particle. This can be set to a negative value to flip the particle on all axes.
</member>
<member name="scale_amount_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
Each particle's scale will vary along this [Curve].