Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GPUParticlesAttractorSphere3D
繼承: GPUParticlesAttractor3D < VisualInstance3D < Node3D < Node < Object
盒狀 3D 粒子吸引器,會影響 GPUParticles3D 節點。
說明
粒子吸引器可以將粒子朝吸引器的原點吸,也可以將粒子推離吸引器的原點。
粒子吸引器是即時進行的,可以在遊戲過程中進行移動、旋轉、縮放。與碰撞形狀不同,吸引器支援不均勻的縮放。
注意:粒子吸引器只會影響 GPUParticles3D,不影響 CPUParticles3D。
屬性
|
屬性說明
吸引器球體的半徑,使用 3D 單位。
注意:要得到拉伸橢圓形,可以對 GPUParticlesAttractorSphere3D 節點使用非均勻縮放。