代码是
pu = PUParticleSystem3D::create("Particle3D/scripts/shuilongzhen.pu", "Particle3D/materials/fazhen01.material");
roleLayer->addChild(pu);
pu->setRotation3D(Vec3(60, 45, -45));
pu->startParticleSystem();
pu->setCameraMask(4);
pu->setScale(150);
pu->setPosition(500.0f, 450.0f);
摄像机是正交摄像机
↧
PUParticleSystem3D 不支持setRotation3D
↧