1
我已經在away3d中用粒子系統製作了一個雪效果,但是當我將一個particleFollowNode添加到ParticleAnimationSet時,那麼billboardNode不起作用。任何人都知道如何解決這個錯誤?謝謝你的幫助。在Away3d粒子系統中,將particleFollowNode添加到particleAnimationSet中使BillboardNode不起作用
的ActionScript:
//setup the particle animation set
_particleAnimationSet = new ParticleAnimationSet(true, true);
_particleAnimationSet.addAnimation(new ParticleVelocityNode(ParticlePropertiesMode.LOCAL_STATIC));
_particleAnimationSet.addAnimation(new ParticlePositionNode(ParticlePropertiesMode.LOCAL_STATIC));
particleFollowNode=new ParticleFollowNode(true,true);
//add particleFollowNode for moving particles around
_particleAnimationSet.addAnimation(particleFollowNode);
//then BillBoad stopped working...
_particleAnimationSet.addAnimation(new ParticleBillboardNode());
_particleAnimationSet.initParticleFunc = initFunc;
你可以張貼一些代碼? – kravits88