Notifications
Clear all

[Closed] simple question

Hi all,

i’d have a simple question:

how can i access to a morpher channel’s controller changing its actual controller (default is float controller) to an other kind through maxscript?

example: i have a ball named ball and a channel named channel01 (index 1) in its morpher modifier.

$ball.morpher is the modifier…
i would like to do something like this (beg you pardon for the orrible sintax, it’s just to clarify):

$ball.morpher.channel1.controller = float_reactor ()

this naturally results in an error, what is the correct syntax?

Thank you all

2 Replies

I think it returns an error if you don’t have a target. also try using the index of the subanim (in this case the channel) to acces it. Something like

$ball.morpher[1].controller = float_reactor ()

could work for the first channel…

hope this helps

/Lui

Hi Cyberluigi: thank you v.m. it works!

bye