[Closed] Spring forcenode array !! what´s wrong?
Hi everyone, I´m having some problems with the .forcenode property in the springPosition controllers in Max!
It seems that there´s no way to add or remove forces like Wind or gravity via maxScript.
Someone has already posted this issue in this thread
http://forums.cgsociety.org/showthread.php?t=305830&highlight=spring+array
I tried everything they did with the arrays, but always return the same error:
– [size=2]Runtime error: Array parameter size fixed, cannot dynamically alter: forceNode[/size]
[size=2][/size]
[size=2][color=white]Is there a workaround to do this?[/color][/size]
[size=2]I hope someone could tell me what´s wrong.[/size]
[size=2]Thanks in advance for your time!
[/size]
Hi Fabio, well, let me tell that I spent a LOT of time trying to figure out a solution to this problem… and everything I tried, didn’t work. The root of the problem is that the forcenode is not an Array value, it’s an ArrayParameter value, and it can’t be growed via Maxscript. However it can be growed manually via the spring interface. Once you have growed it, you can replace it by another array of the same number of elements. But I don’t think this is very helpful, since the idea of scripting is precisely don’t have to do the things manually :sad::sad:
So, I guess I couldn’t find a workaround, let me know if you do
Hi Alfonso, thanks for passing by !!!
Yeah, it seems that it is a dead end
I hope Bobo could help us on that ! I´ve sent him a message, but he already exceeds the message limits !
Well, I´ll contact you as soon as I find out some workaround on this !
See you