hi there!
I am building a character for a pc-game, so it needs certain preferences to work in the game.
I was searching in the maya help and also on this forum but couldn
hi there!
I am building a character for a pc-game, so it needs certain preferences to work in the game.
I was searching in the maya help and also on this forum but couldn
To scale all the bones you need to step trough all of them and scale them down. Daivid goulds book has a exapmle of code to do this tough making it form scratch isnt realy hard either.
Tough it realy sounds like your exporter is sufferung form some serious design flaws, reading in the bones. Since it realy shoudl be designed to accomodoate for thiskind of workflow.
heres a quick and dirty way
proc scaleDescendantBones(vector $size,string $joints[]){
for ($joint in $joints){ print $size;
scale -r ($size.x) ($size.y) ($size.z)(listRelatives -ad -type joint $joint);
}
}
{
$selectedRoot=ls -sl;
$scale=xform -q -r -scale $selectedRoot[0];
scaleDescendantBones(<>,listRelatives -c -type joint $selectedRoot[0]);
ungroup;
}
note the bones visible scale WILL change because the scale trasforming ther visible size dissapears the bones positions should stay intact, You can adjust that too later.
Note the eyes dont actualy contribute to scale they can be directly deleted.
theres a alternate way too and its to unparent and uncheck segment scale comensate of the root joints child.
tnx alot m8!
will check this out..