Ian Jones
11-06-2003, 10:58 AM
Hi,
I'm looking for info and tutorials about how to script animation in max. I have found the in-built help to be complete bollocks in this area.
I'm trying to transfer some of my knowledge from Flash Actionscript, Director Lingo and Java. Basically I want to be able to apply scripting to objects to make them move in various ways, the most common being to follow another object with deceleration or elasticity etc...
My immediate need is for script / expression that will do something similar to this:
position difference = Box01.position - Box02.position
increment = position difference*0.1
Box02.position = Box02.position + increment
That psuedo script basically should make Box02 follow Box01 and decelerate towards it giving a nice smooth and automated animation. Can anyone help? Maybe someone knows of some good tutorials?
I'm looking for info and tutorials about how to script animation in max. I have found the in-built help to be complete bollocks in this area.
I'm trying to transfer some of my knowledge from Flash Actionscript, Director Lingo and Java. Basically I want to be able to apply scripting to objects to make them move in various ways, the most common being to follow another object with deceleration or elasticity etc...
My immediate need is for script / expression that will do something similar to this:
position difference = Box01.position - Box02.position
increment = position difference*0.1
Box02.position = Box02.position + increment
That psuedo script basically should make Box02 follow Box01 and decelerate towards it giving a nice smooth and automated animation. Can anyone help? Maybe someone knows of some good tutorials?
