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...
GPUParticlesCollisionBox3D
繼承: GPUParticlesCollision3D < VisualInstance3D < Node3D < Node < Object
Box-3D 粒子碰撞的形狀影響 GPUParticles3D 節點。
說明
盒狀3D粒子碰撞形狀影響GPUParticles3D節點。
注意:ParticleProcessMaterial.collision_mode必須是ParticleProcessMaterial.COLLISION_RIGID或ParticleProcessMaterial.COLLISION_HIDE_ON_CONTACT在經過GPUParticles3D的材質上,碰撞才能發揮作用。
注意:粒子碰撞只影響到GPUParticles3D,而不是CPUParticles3D。
屬性
|
屬性說明
Vector3 size = Vector3(2, 2, 2) 🔗
碰撞框的範圍,使用 3D 單位。