关于 3D粒子系统 PUParticleSystem3D类

为什么这个类的很多方法设置了没有作用 ? 有大神实验过吗?

比如
void setParticleSystemScaleVelocity(float scaleVelocity)

void setDefaultWidth(const float width);
void setDefaultHeight(const float height);
void setDefaultDepth(const float depth);

void setEmittedEmitterQuota(unsigned int quota)

还有其它的 这是为什么 是做的不完善 还是我写的不对啊?

//添加3D粒子系统
rootps = PUParticleSystem3D::create(“Particle3D/scripts/example_006.pu”);
//设置粒子系统摄像机
rootps->setCameraMask((unsigned short)CameraFlag::USER1);
//设置缩放比
rootps->setScale(50.0f);
//设置位置坐标
rootps->setPosition3D(Vec3(10,10,10));
//开始播放粒子系统
rootps->startParticleSystem();
//将粒子系统添加到场景中
this->addChild(rootps);

然后 rootps -> setParticleSystemScaleVelocity(100.0f);
rootps -> setDefaultWidth(500.0f);
学生党 问题可能幼稚 大神路过帮帮忙:6::6::6::6::6:

setParticleSystemScaleVelocity是有用,你用测试例里面的例子直接试。

我试一下 其他的哪?

其他的我还没研究…

大神 我试了 真没用啊 这方法是设置 粒子发射速度的吗?

应该和粒子的速度有关,你用LineStreak这个例子试试,我就是用这个试的

那是个光啊 没啥变化啊? 大神能把你那段代码粘给我吗? 或者邮箱1486642532@qq.com 跪求大神了

用测试例的Node:ParticleSystem3D(PU)里面,第二个例子。你调用这个接口设置成100.0

不建议直接调用PUParticleSystem3D的接口,PUParticleSystem3D的实现方式和Particle Universe的不同,PUParticleSystem3D采用Component模式设计。
最好在PU编辑器里调好参数直接创建使用
如果确实想要设置,需遍历到PUParticleSystem3D的子PUParticleSystem3D分别进行设置