View Full Version : Scrip bubble operator
thrischan 03-15-2005, 10: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.
|
|
thrischan
03-16-2005, 01:22 AM
any?
Thanks
galagast
03-16-2005, 02:38 AM
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:)
CGTalk Moderation
03-16-2005, 02:38 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.