Improve documentation related for particle subemitters, collision and attractors

This also describes how to set up particle flipbook animation in
GPUParticles2D's texture property.
This commit is contained in:
Hugo Locurcio
2023-10-25 06:16:12 +02:00
parent e8d57afaec
commit 22e42c1826
4 changed files with 32 additions and 16 deletions

View File

@ -737,7 +737,7 @@
The object's X axis will always face the camera.
</constant>
<constant name="BILLBOARD_PARTICLES" value="3" enum="BillboardMode">
Used for particle systems when assigned to [GPUParticles3D] and [CPUParticles3D] nodes. Enables [code]particles_anim_*[/code] properties.
Used for particle systems when assigned to [GPUParticles3D] and [CPUParticles3D] nodes (flipbook animation). Enables [code]particles_anim_*[/code] properties.
The [member ParticleProcessMaterial.anim_speed_min] or [member CPUParticles3D.anim_speed_min] should also be set to a value bigger than zero for the animation to play.
</constant>
<constant name="TEXTURE_CHANNEL_RED" value="0" enum="TextureChannel">