Create key frames and rotate selected object
Hello there!
I was doing some 2d game creation and rendering models in 8 directions. Each move should be rendered 8 times. Adjusting the scene by hand is too time-consuming. A script that sets the scene should be very helpful.
The script should work like this:
First I input a number X, how many frames each move has.
Select clockwise or anticlockwise
Create key frame at 1
create key frame at X
create key frame at X+1, rotate selected object by 0,0,45 or 0,0,-45
create key frame at 2X
create key frame at 2X+1, rotate selected object by 0,0,45 or 0,0,-45
...................
Create key frame at 7X+1, rotate selected object by 0,0,45 or 0,0,-45
Thank you!
Comments
Sorry, my max2012 says
Sorry, my max2012 says "count" undefined
at these lines
rendPickupFrames = (str = "0," ; for i = 1 to a.count while i != a.count do str+= (a[i] as string + ",") ; str += a[a.count] as string ; str)
if rendTimeType != 4 do rendTimeType = 4
I was using solution #1
...
Yup. I already fix that. Copy code again or replace "a" with "arr"
bga
Thank you man!
Thank you man!
...
Wait a bit I have better solution.
bga
...
Look at this solution. Also read comments because there is two examples.
Test this separately
bga
...
You can play also with this tools
http://www.scriptspot.com/3ds-max/scripts/3incampack-jumper-cam
http://www.scriptspot.com/3ds-max/scripts/3incampack-chaser-cam
http://www.scriptspot.com/3ds-max/scripts/3incampack-spirofly-cam
bga
...
Something like this
bga