Jump to content

czasteczka jako omni - particle flow


cucsoniuss

Recommended Posts

Witam, od kilku godzin probuje zastopić czasteczki z particle flow "omniaczami" i nic. Znalazłem to...

 

http://www.orbaz.com/forum/viewtopic.php?t=631&highlight=

ale nie działa.

Znalazłem też to...

 

 

on ChannelsUsed pCont do

(

pCont.usePosition = true

pCont.useSpeed = true

)

 

on Init pCont do

(

global theBounceLights = $BounceLight_* as array

if theBounceLights.count == 0 do

(

theBounceLights = for i = 1 to 8 collect

(omnilight attenDecay:2 name:(uniquename "BounceLight_"))

)

theBounceLights.pos = [0,0,-100000]

)

 

on Proceed pCont do

(

count = pCont.NumParticles()

minCount = amin #(count, theBounceLights.count)

for i in 1 to minCount do

(

pCont.particleIndex = i

theBounceLights.pos = pCont.particlePosition

)

)

 

on Release pCont do

(

 

)

 

 

 

I działa, tylko że tylko z 8 swiatłami. Gdy zmieniam theBounceLights = for i = 1 to 8 collect nic się nie zmienia. Również przy zwiększaniu liczby czasteczek

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

Important Information

We are using cookies. Read about our Privacy Policy