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.

GPUParticlesAttractorBox3D

繼承: GPUParticlesAttractor3D < VisualInstance3D < Node3D < Node < Object

盒狀 3D 粒子吸引器,會影響 GPUParticles3D 節點。

說明

粒子吸引器可以將粒子朝吸引器的原點吸,也可以將粒子推離吸引器的原點。

粒子吸引器是即時進行的,可以在遊戲過程中進行移動、旋轉、縮放。與碰撞形狀不同,吸引器支援不均勻的縮放。

注意:粒子吸引器只會影響 GPUParticles3D,不影響 CPUParticles3D

屬性

Vector3

size

Vector3(2, 2, 2)


屬性說明

Vector3 size = Vector3(2, 2, 2) 🔗

吸引器盒的尺寸,使用 3D 單位。