Unity AR Tutorial - Importing Modifier / WSM / Space Warp animations from 3ds Max
HTML-код
- Опубликовано: 11 сен 2024
- This video explains the process for correctly importing animations into Unity from 3ds Max when those animations use Modifiers / World Space Modifiers / Space Warps. By default, they won't import correctly. Instead you need to convert the spatial transformations into vertex transforms via Morph deformations.
This method and the script come from the video at: • Export 3dsmax Modifier... . (Much appreciated!) But that video does not have any voiceover or explanation. A modified script, which you will need, is in the comments below.
Hopefully this will help someone....
Thanks to your help, I am able to perform unity path animations. Thank you so much
Here is the script -- slightly modified because it wouldn't compile correctly for me. Copy / paste this into your MaxScript interpreter. Don't forget to change the frame numbers (1 to 299) and the names of the source object ($pCube003 in this example):
int t;
int f;
with animate on
for i = 1 to 299 do
(slidertime = i;
WM3_MC_SetValue $pCube003.Morpher i 100.0;
t = i-1;
f = i+1;
WM3_MC_SetValue $pCube003.Morpher f 0.0;
WM3_MC_SetValue $pCube003.Morpher t 0.0;)
animate off
hi,thanks for your explanation,when i run the script makes error: undefided to type: integer erorr.whats the problem?
This saved my life. Thank you!!!!!!!!!!!
It works, thank you so much.
thanks a lot.. it is helpful...
nice one Realy Helpful😇😇😇👍👍👍👍👍
Thanks
Love YOU!!