Quantcast
Channel: Cocos中文社区 - 最新帖子
Viewing all articles
Browse latest Browse all 498497

PUParticleSystem3D 不支持setRotation3D

$
0
0

代码是
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);
摄像机是正交摄像机


Viewing all articles
Browse latest Browse all 498497

Trending Articles