16 lines
487 B
Plaintext
16 lines
487 B
Plaintext
|
//******************************************************************************
|
|||
|
//
|
|||
|
// <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>: <20><>Ϫʱ<CFAA><CAB1><EFBFBD>Ƽ<EFBFBD><C6BC><EFBFBD><EFBFBD><EFBFBD>˾
|
|||
|
// <20><>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD>: q.100@qq.com
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 2023/08/08
|
|||
|
//
|
|||
|
//******************************************************************************
|
|||
|
|
|||
|
global proc SGRefreshNeutralJointTranslation (){
|
|||
|
string $joints[] = `SGGetJoints`;
|
|||
|
for($i=0; $i<size($joints); $i++){
|
|||
|
float $pos[] = `getAttr ($joints[$i]+".t")`;
|
|||
|
SGSetNeutralJointTranslations $i $pos[0] $pos[1] $pos[2];
|
|||
|
}
|
|||
|
}
|