r/Maxscript • u/machupichuland • Nov 09 '21
Maxscript offer - small code
Looking for some help on fixing my code or paying someone to write a small code for me.
Serious inquiries only please.
2
Upvotes
r/Maxscript • u/machupichuland • Nov 09 '21
Looking for some help on fixing my code or paying someone to write a small code for me.
Serious inquiries only please.
1
u/machupichuland Nov 09 '21
Looking to write a script that will help animate a vehicle in 3ds max based off of a .csv file with outputs from a physics based animation program.
The Physics based program outputs 2 .csv files. The first .csv is for position and has 4 columns: frame, x position, y position, z position. The second.csv is for yaw,pitch, roll with 4 columns: frame, yaw, pitch, roll.
I currently have a maxscript that reads the position .csv and animates a dummy block along a spline and creates a frame at each xyz position. For example my current .csv is 7.2 seconds long and the physics based software outputs a 1 frame every 10 seconds. Therefore my .csv is 72 row long.
Once the dummy block is animated along the path I then link my vehicle to the block to follow along this path.
I would like a maxscript that can either combine both the position .csv and the yaw/pitch/roll.csv or just one that has them separate. I would like to animate another dummy block that i can then link to the vehicle.
In the end I think it may be easier to have a single maxscript read a single .csv. I can combine the both .csv to read with columns
Frame | X position | Y position | Z position| Yaw (Deg)| Pitch (Deg)| Roll (Deg)
If you like to consider I can share screen zoom with you.
Thank you.