1
[Scatter] I need help! / Re: Corona Scatter Maxscript
« on: 2022-01-05, 10:15:42 »
So, I've made a little progress with this. It turns out the method getModelNode doesn't give the result of the scatter, but rather it gives access to the models in the list of scattered objects. As per the code below. So this doesn't appear to be able to do what I want directly. However it seems I can add and remove items from this list dynamically. So maybe there is a way to achieve it by swapping out models in the list. I will keep trying. If anybody has any advice. I'm all ears!
The following will print the first model in the distribution list for each frame:
The following will print the first model in the distribution list for each frame:
Code: [Select]
for t = animationRange.start to animationRange.end do
(
animate on
(
at time t
(
ting = ($'Corona Scatter001'.getModelNode 0).name
print ting
)
)
)