Files
engine/docs/en/graphics/particle/renderer-force-module.mdx
SwayYan 33cdff9a81 Update particle 1.5 doc (#2702)
* feat: particle 1.5 doc
2025-05-27 18:13:54 +08:00

20 lines
1.3 KiB
Plaintext

---
title: Lifecycle Force Module
---
### Lifecycle Force Module
ForceOverLifetime inherits from `ParticleGeneratorModule` and is used to apply acceleration effects to particles, typically for simulating 3D force fields such as wind.
<Image src="https://mdn.alipayobjects.com/huamei_aftkdx/afts/img/A*UsPoQp-ZJGwAAAAAQLAAAAgAeteEAQ/fmt.webp" alt="ForceOverLifetime" />
## Properties
| Property | Description |
| ------------------------------------------------------------ | --------------------------------------------------------------------------------------------------- |
| [space](/apis/core/#ParticleSimulationSpace) | Select the space for force changes, which can be world space or local space |
| forceX | [ParticleCompositeCurve](/apis/core/#ParticleCompositeCurve) object representing the x-axis force of particles over their lifetime |
| forceY | [ParticleCompositeCurve](/apis/core/#ParticleCompositeCurve) object representing the y-axis force of particles over their lifetime |
| forceZ | [ParticleCompositeCurve](/apis/core/#ParticleCompositeCurve) object representing the z-axis force of particles over their lifetime |