vault backup: 2024-10-09 17:51:55
This commit is contained in:
parent
947a8020ee
commit
40f712add4
@ -597,6 +597,7 @@ on BtnBase pressed do
|
||||
)
|
||||
```
|
||||
### AdditiveAnimation
|
||||
将路径正确的AdditiveAnimation动画路径加入LstAnims中。
|
||||
```c++
|
||||
Anims = #()
|
||||
if DotNetObject == undefined then
|
||||
@ -627,4 +628,27 @@ else
|
||||
)
|
||||
```
|
||||
|
||||
### ExportAnimation
|
||||
### ExportAnimation
|
||||
***核心逻辑***
|
||||
```c++
|
||||
on BtnExport pressed do
|
||||
(
|
||||
BoneRotationArray = #()
|
||||
if (LstAnims.items.count>0 and BaseAnimFileName != undefined) then
|
||||
(
|
||||
XMap = DDLX.selection
|
||||
YMap = DDLY.selection
|
||||
ZMap = DDLZ.selection
|
||||
AixMap = DDLAix.selection
|
||||
if g_pelvis then
|
||||
(
|
||||
boneNum = 1
|
||||
)
|
||||
else boneNum = 2
|
||||
for i=1 to LstAnims.items.count do
|
||||
(
|
||||
CalculateAddRotation i
|
||||
)
|
||||
)
|
||||
)
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user