[Closed] Physics in maxscript
There are situations where you don’t want to go to a full physics sim like massfx and need a simple dynamics solution in maxscript.
There is a great book which describes the actionscript code necessary to produce realsitic Physics motion such as acceleration, damping, drag, friction, collison detection etc of an object, which is useful in game design, but is there a similar resource whihc gives code for the same thing in maxscript?
To my knowledge, not built in. But almost all of those are maths based, on course – to simulate gravity you simply need to animate an object accelerating downwards at 9.8m/s, after all!
There is a way of checking for intersecting geometry (though it is quite slow), so you could crowbar in some collision there, if you wanted to. I think the short answer is ‘no’, though, basically.
someone translated a cloth simulator written in c# to maxscript
here and it has a wind , gravity , constraints
so for sure it can be done collision is the Real issue i think
I wrote a simple -work around problems- on Physics cloth collision with deformed objects
http://shaterstudio.blogspot.com/2013/03/mcloth-script-for-character-animation.html
as a base I think cloth simulator is gr8.
check it here
http://www.scriptspot.com/3ds-max/scripts/maxscript-cloth-simulator