Notifications
Clear all
[Closed] Scrip bubble operator
Mar 15, 2005 11:37 pm
Does anybody have a scritp operator that make particles behave with bubble motion?
I really need that, thank you, i appreciate your help.
2 Replies
Mar 15, 2005 11:37 pm
im not sure if this would help with something like a bubble motion…
there isnt any special mathematical formula used… just the motion from a noise controller + particle motion…
on ChannelsUsed pCont do
(
pcont.useTM = true
pcont.usePosition = true
)
on Init pCont do
(
global objArray = $plane* as array --your array of objects
)
on Proceed pCont do
(
count = pCont.NumParticles()
for i in 1 to count do
(
pCont.particleIndex = i
objPos = pcont.particlePosition
objScale = objArray[i].scale
objArray[i].transform = pCont.particleTM
objArray[i].pos.controller[1].pos = objPos
objArray[i].scale = objScale
)
)
on Release pCont do
(
)
the downside is, you’ll need objects to act as particles… these objects will have noise controllers applied to them…
(well… i guess i just made things a little more complicated. heheh)
just my two centavos:)