Notifications
Clear all

[Closed] animation automatisation

I have a selection of 70 helpers that I want to animate, they need to rotate on the local y axis, is there a way to do this quickly automate this with maxscript? Anyone got any ideas?

thanks

2 Replies

say you have all the helper selected then run this example code.


 
 
rotY = eulerangles 0 -22.5 0
 
startTime = 10
 
endTime = 100
 
timeStep = 10
 
 
with animate on (
 
 
for t = startTime to endTime by timeStep do (
 
	at time t ( for i in selection do ( [color=white]in coordsys local rotate i rotY ) )[/color]
 
) -- end t loop
 
)[color=white]-- end with animate on context
 
[/color]

ok thank you