Announcement

Collapse
No announcement yet.

Simcloth3 with maxscript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Simcloth3 with maxscript

    Hi
    Does anyone know if Maxscript can be used to control simcloth3 parameters?
    If so any examples would be great as I'm stumped on this one!

    Many thanks
    Graham Macfarlane
    3D Studio Max, Vray and motion graphics specialist
    Elyarch Ltd - London UK

  • #2
    Seems I overlooked the obvious syntax as I simply had more than just the Simcloth modifier in the stack and thus got the modifier index number wrong. (That what you get for working late I guess!)

    Example working code in case anyone finds it useful (using modifier name instead of index number):
    $.modifiers[#simcloth3].particleMass = 0.5 --changes particle mass parameter to 0.5

    Strangely the listener always returns undefined until you run the above or similar line of code once. It then presents the simcloth3 parameter code correctly until a max restart.
    Last edited by GrahamMac; 03-10-2011, 02:58 PM.
    Graham Macfarlane
    3D Studio Max, Vray and motion graphics specialist
    Elyarch Ltd - London UK

    Comment

    Working...
    X