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...
GPUParticlesCollisionSphere3D
繼承: GPUParticlesCollision3D < VisualInstance3D < Node3D < Node < Object
球狀的 3D 粒子碰撞形狀,影響 GPUParticles3D 節點。
說明
球狀的 3D 粒子碰撞形狀,影響 GPUParticles3D 節點。
注意:在 GPUParticles3D 的處理材質上,ParticleProcessMaterial.collision_mode 必須是 ParticleProcessMaterial.COLLISION_RIGID 或 ParticleProcessMaterial.COLLISION_HIDE_ON_CONTACT ,才能使碰撞生效。
注意:粒子碰撞只影響 GPUParticles3D,不影響 CPUParticles3D。
屬性
|
屬性說明
碰撞球的半徑,以 3D 單位表示。