|
|
Re: Несколько вопросов по UE Viewer/ActorX Importer
« Reply #40 on: March 27, 2013, 02:30 » |
|
В общем, проблема в том, что скрипт не может найти кости почему-то. Ругается в строчке 1564
WARNING: cannot find bone CHR_Spine1 WARNING: cannot find bone CHR_Spine2 WARNING: cannot find bone CHR_Spine3 WARNING: cannot find bone CHR_Ribcage WARNING: cannot find bone CHR_LArmCollar WARNING: cannot find bone CHR_LArmUpper ...
После цикла лог такой -- Frame: -- filename: "H:\Projects\KillingFloor\ueviewer\KF_Soldier_Trip\MeshAnimation\Soldier_Animations_Trip.psa" -- AnimFlags: #() -- extraFrame: undefined -- startFrame: undefined -- all: false -- Bones: #((VBone name:"CHR_Pelvis" flags:0 NumChildren:0 ParentIndex:-1 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_Spine1" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_Spine2" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_Spine3" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_Ribcage" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmCollar" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmUpper" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmForeArm" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmPalm" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit11" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit12" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit13" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit21" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit22" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit23" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit31" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit32" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit33" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit41" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), (VBone name:"CHR_LArmDigit42" flags:0 NumChildren:0 ParentIndex:0 Orientation:(quat 0 0 0 0) position:[0,0,0] length:0.0 size:[0,0,0] Matrix:undefined), ...) -- firstFlag: undefined -- NumBones: 55 -- keyPos: 306568 -- numframes: 29 -- UseAnimTranslation: #() -- numAnims: 1020 -- hdr: (VChunkHeader ChunkID:"ANIMKEYS" TypeFlag:1999801 DataSize:32 DataCount:1529935) -- MaxBones: #($CHR_Pelvis, $CHR_Spine1, $CHR_Spine2, $CHR_Spine3, $CHR_Ribcage, $CHR_LArmCollar, $CHR_LArmUpper, $CHR_LArmForeArm, $CHR_LArmPalm, $CHR_LArmDigit11, $CHR_LArmDigit12, $CHR_LArmDigit13, $CHR_LArmDigit21, $CHR_LArmDigit22, $CHR_LArmDigit23, $CHR_LArmDigit31, $CHR_LArmDigit32, $CHR_LArmDigit33, $CHR_LArmDigit41, $CHR_LArmDigit42, ...) -- MeshBoneLink: #(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, ...) -- flagCount: undefined -- ar_start: undefined -- trackNum: 5 -- file: <BinStream:H:\Projects\KillingFloor\ueviewer\KF_Soldier_Trip\MeshAnimation\Soldier_Animations_Trip.psa> -- firstFrame: undefined -- ar_end: undefined
В строчке 1555 MeshBones.count = 0, поэтому не находит
UPDATE: понял, вначале нужно загрузить какую-нибудь модель, чтобы скрипт кости нашел, а потом уже анимация работает.
|