由 feverheat » 10日 1月 2003年, 18:19
真系唔該曬你啊!!另外,我亦有一個問題,如果我想將每一個instanced objects 隨時間轉動,有有何意見啊?其實之前問過,以下是我的朋友建議:Create an additional Dynamic Attribute with type Vector and Per
Particle.
create a Creation
expression, for example
rotationInstPP = <<0,-90,0>>;
In the runtime expression add the following line:
rotationInstPP += <<rand(0,.01),0,0>>;
You have to select the attribute under Instancer / rotation option /
Rotation...
Now the Instances will be rotated at birth and then they rotate around x with a random value...
One of the no so good things of this approach is, that you can't use the aimDirection attribute. Try to set the rotaiton in the attached scene to none...the aimDirection is quit usefull for flying things to let them look into the direction where they fly... if you wanna let them look into an direction and than add an rotation, you have to calculate it by hand...
您又覺得佢既建議okay嗎? Thanks~~