[Closed] skin > Alwasy deform
Hello people,
I’m working on a script where i adjust the biped and mesh.
Here is what i do:
- Turn Always deform in the skin mod off.
- Turn figuremode of biped on
- do some stuff to biped and mesh (rotate)
- turn always deform on << where it goes wrong
- turn figuremode off
The mesh is getting weird at the end of the script.
However here comes the weird part:
When i don’t do the last two step with maxscript but by hand all goes well. (i do exacle the same but not with script).
Also if at the end of the script i select the model>skin>always deform off and go into biped>fuguremode then skin alwaysdeform > on and finaly figuremode off the mesh is restored again.
but also when i do this by script i get an weird mesh.
Does any1 have an idea what i causing this ?
Many thanks for the help!
okey here is the next weird thing,
if i put this code under a seperate button the mesh is correct.
if i put the same code at the end of my script the mesh is incorrect…
huh ?? weird weird weird
TheBip = getnodebyname "Bip01" exact:true
TheObj.modifiers[#Skin].Always_Deform = true
TheBip.controller.figureMode = false
Hi Pix3l
I remember facing the same problem couple of months ago with the ‘always_deform’ stuff.
It looked like it works differently when accessed through script and when done manually.
I was not able to figure out a solution then.
I hope someone did…
my thought exacly, looks like max is doing things different when a user clicks or when doing it thrue script… hmm to weird