Wave hello, wave goodbye
Hi chaps and chapettes. I am trying to create a script or some code that makes use of the sine function. Predictably, I am trying to create an oscilating action with position, rotation or combinations of both. The most obvious action would be to automate and animate objects in a snake like way, but I am more interested in the code that needs to be written in order to create an oscillating action. I have seen there are tentacle scripts that make use of this, but most are wrapped up in formats that do not give access to the source code. Any pointers to fundamental useage would be appreciated.
I have done this in MEL, but am porting to Maxscript so the syntax is a little harder to grasp. The Maxscript macro recorder is not very helpful and the documentation is a little splintered.