ParticleAspiratorSphereGPU

继承: ParticleAspiratorGPUBase < VisualRender < Item3D < Item < Object

一个球形吸引子,影响来自ParticlesGPU节点的粒子。

描述

一种球形吸引子,影响来自ParticlesGPU节点的粒子。可用于将粒子吸引到其原点,或将它们推离原点。

粒子吸引子实时工作,可以在运行时移动、旋转和缩放。与碰撞形状不同,还支持吸引子的非均匀缩放。

注意:粒子吸引子只影响ParticlesGPU,不影响ParticlesCPU

属性


属性说明

float radius = 1.0 🔗

  • void set_radius(value: float)

  • float get_radius()

以3D为单位的吸引子球体半径。

注意:拉伸椭圆可以通过在ParticleAspiratorSphereGPU节点上使用非均匀缩放来获得。