unreal-engine-mcp-server 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +1 -1
- package/.github/release-drafter-config.yml +51 -0
- package/.github/workflows/greetings.yml +5 -1
- package/.github/workflows/labeler.yml +2 -1
- package/.github/workflows/publish-mcp.yml +1 -0
- package/.github/workflows/release-drafter.yml +1 -1
- package/.github/workflows/release.yml +3 -3
- package/CHANGELOG.md +71 -0
- package/CONTRIBUTING.md +1 -1
- package/GEMINI.md +115 -0
- package/Public/Plugin_setup_guide.mp4 +0 -0
- package/README.md +166 -200
- package/dist/config.d.ts +0 -1
- package/dist/config.js +0 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.js +4 -0
- package/dist/graphql/loaders.d.ts +64 -0
- package/dist/graphql/loaders.js +117 -0
- package/dist/graphql/resolvers.d.ts +3 -3
- package/dist/graphql/resolvers.js +33 -30
- package/dist/graphql/server.js +3 -1
- package/dist/graphql/types.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +13 -2
- package/dist/server-setup.d.ts +0 -1
- package/dist/server-setup.js +0 -40
- package/dist/tools/actors.d.ts +40 -24
- package/dist/tools/actors.js +8 -2
- package/dist/tools/assets.d.ts +19 -71
- package/dist/tools/assets.js +28 -22
- package/dist/tools/base-tool.d.ts +4 -4
- package/dist/tools/base-tool.js +1 -1
- package/dist/tools/blueprint.d.ts +33 -61
- package/dist/tools/consolidated-tool-handlers.js +96 -110
- package/dist/tools/dynamic-handler-registry.d.ts +11 -9
- package/dist/tools/dynamic-handler-registry.js +17 -95
- package/dist/tools/editor.d.ts +19 -193
- package/dist/tools/editor.js +8 -0
- package/dist/tools/environment.d.ts +8 -14
- package/dist/tools/foliage.d.ts +18 -143
- package/dist/tools/foliage.js +4 -2
- package/dist/tools/handlers/actor-handlers.js +0 -5
- package/dist/tools/handlers/asset-handlers.js +454 -454
- package/dist/tools/landscape.d.ts +16 -116
- package/dist/tools/landscape.js +7 -3
- package/dist/tools/level.d.ts +22 -103
- package/dist/tools/level.js +24 -16
- package/dist/tools/lighting.js +5 -1
- package/dist/tools/materials.js +5 -1
- package/dist/tools/niagara.js +37 -2
- package/dist/tools/performance.d.ts +0 -1
- package/dist/tools/performance.js +0 -1
- package/dist/tools/physics.js +5 -1
- package/dist/tools/sequence.d.ts +24 -24
- package/dist/tools/sequence.js +13 -0
- package/dist/tools/ui.d.ts +0 -2
- package/dist/types/automation-responses.d.ts +115 -0
- package/dist/types/automation-responses.js +2 -0
- package/dist/types/responses.d.ts +249 -0
- package/dist/types/responses.js +2 -0
- package/dist/types/tool-interfaces.d.ts +135 -135
- package/dist/utils/command-validator.js +3 -2
- package/dist/utils/path-security.d.ts +2 -0
- package/dist/utils/path-security.js +24 -0
- package/dist/utils/response-factory.d.ts +4 -4
- package/dist/utils/response-factory.js +15 -21
- package/docs/Migration-Guide-v0.5.0.md +1 -9
- package/docs/testing-guide.md +2 -2
- package/package.json +12 -6
- package/scripts/run-all-tests.mjs +25 -20
- package/server.json +3 -2
- package/src/config.ts +1 -1
- package/src/constants.ts +7 -0
- package/src/graphql/loaders.ts +244 -0
- package/src/graphql/resolvers.ts +47 -49
- package/src/graphql/server.ts +3 -1
- package/src/graphql/types.ts +3 -0
- package/src/index.ts +15 -2
- package/src/resources/assets.ts +5 -4
- package/src/server-setup.ts +3 -37
- package/src/tools/actors.ts +36 -28
- package/src/tools/animation.ts +1 -0
- package/src/tools/assets.ts +74 -63
- package/src/tools/base-tool.ts +3 -3
- package/src/tools/blueprint.ts +59 -59
- package/src/tools/consolidated-tool-handlers.ts +129 -150
- package/src/tools/dynamic-handler-registry.ts +22 -140
- package/src/tools/editor.ts +39 -26
- package/src/tools/environment.ts +21 -27
- package/src/tools/foliage.ts +28 -25
- package/src/tools/handlers/actor-handlers.ts +2 -8
- package/src/tools/handlers/asset-handlers.ts +484 -484
- package/src/tools/handlers/sequence-handlers.ts +1 -1
- package/src/tools/landscape.ts +34 -28
- package/src/tools/level.ts +96 -76
- package/src/tools/lighting.ts +6 -1
- package/src/tools/materials.ts +8 -2
- package/src/tools/niagara.ts +44 -2
- package/src/tools/performance.ts +1 -2
- package/src/tools/physics.ts +7 -1
- package/src/tools/sequence.ts +41 -25
- package/src/tools/ui.ts +0 -2
- package/src/types/automation-responses.ts +119 -0
- package/src/types/responses.ts +355 -0
- package/src/types/tool-interfaces.ts +135 -135
- package/src/utils/command-validator.ts +3 -2
- package/src/utils/normalize.test.ts +162 -0
- package/src/utils/path-security.ts +43 -0
- package/src/utils/response-factory.ts +29 -24
- package/src/utils/safe-json.test.ts +90 -0
- package/src/utils/validation.test.ts +184 -0
- package/tests/test-animation.mjs +358 -33
- package/tests/test-asset-graph.mjs +311 -0
- package/tests/test-audio.mjs +314 -116
- package/tests/test-behavior-tree.mjs +327 -144
- package/tests/test-blueprint-graph.mjs +343 -12
- package/tests/test-control-editor.mjs +85 -53
- package/tests/test-graphql.mjs +58 -8
- package/tests/test-input.mjs +349 -0
- package/tests/test-inspect.mjs +291 -61
- package/tests/test-landscape.mjs +304 -48
- package/tests/test-lighting.mjs +428 -0
- package/tests/test-manage-level.mjs +70 -51
- package/tests/test-performance.mjs +539 -0
- package/tests/test-sequence.mjs +82 -46
- package/tests/test-system.mjs +72 -33
- package/tests/test-wasm.mjs +98 -8
- package/vitest.config.ts +35 -0
- package/.github/release-drafter.yml +0 -148
- package/dist/prompts/index.d.ts +0 -21
- package/dist/prompts/index.js +0 -217
- package/dist/tools/blueprint/helpers.d.ts +0 -29
- package/dist/tools/blueprint/helpers.js +0 -182
- package/src/prompts/index.ts +0 -249
- package/src/tools/blueprint/helpers.ts +0 -189
- package/tests/test-blueprint-events.mjs +0 -35
- package/tests/test-extra-tools.mjs +0 -38
- package/tests/test-render.mjs +0 -33
- package/tests/test-search-assets.mjs +0 -66
package/tests/test-animation.mjs
CHANGED
|
@@ -1,44 +1,369 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Comprehensive Animation & Physics Test Suite
|
|
4
4
|
* Tool: animation_physics
|
|
5
|
+
* Coverage: All 15 actions with success, error, and edge cases
|
|
5
6
|
*/
|
|
6
7
|
|
|
7
8
|
import { runToolTests } from './test-runner.mjs';
|
|
8
9
|
|
|
10
|
+
// Use the tutorial skeleton that comes with UE
|
|
11
|
+
const tutorialSkeleton = '/Engine/Tutorial/SubEditors/TutorialAssets/Character/TutorialTPP_Skeleton';
|
|
12
|
+
|
|
9
13
|
const testCases = [
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
//
|
|
19
|
-
{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
// === PRE-CLEANUP ===
|
|
15
|
+
{
|
|
16
|
+
scenario: 'Pre-cleanup animation artifacts',
|
|
17
|
+
toolName: 'animation_physics',
|
|
18
|
+
arguments: { action: 'cleanup', filter: 'TC_*' },
|
|
19
|
+
expected: 'success|no matching'
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
// === CREATE ANIMATION BLUEPRINT ===
|
|
23
|
+
{
|
|
24
|
+
scenario: 'Create Animation Blueprint',
|
|
25
|
+
toolName: 'animation_physics',
|
|
26
|
+
arguments: {
|
|
27
|
+
action: 'create_animation_bp',
|
|
28
|
+
name: 'TC_ABP_Character',
|
|
29
|
+
skeletonPath: tutorialSkeleton,
|
|
30
|
+
savePath: '/Game/Animations'
|
|
31
|
+
},
|
|
32
|
+
expected: 'success or not found'
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
scenario: 'Create Animation Blueprint (minimal)',
|
|
36
|
+
toolName: 'animation_physics',
|
|
37
|
+
arguments: {
|
|
38
|
+
action: 'create_animation_bp',
|
|
39
|
+
name: 'TC_ABP_Minimal',
|
|
40
|
+
skeletonPath: tutorialSkeleton,
|
|
41
|
+
savePath: '/Game/Animations',
|
|
42
|
+
stateMachines: []
|
|
43
|
+
},
|
|
44
|
+
expected: 'success or not found'
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
// === CREATE ANIMATION ASSET ===
|
|
48
|
+
{
|
|
49
|
+
scenario: 'Create Animation Sequence',
|
|
50
|
+
toolName: 'animation_physics',
|
|
51
|
+
arguments: {
|
|
52
|
+
action: 'create_animation_asset',
|
|
53
|
+
name: 'TC_Anim_Sequence',
|
|
54
|
+
skeletonPath: tutorialSkeleton,
|
|
55
|
+
savePath: '/Game/Animations',
|
|
56
|
+
assetType: 'sequence'
|
|
57
|
+
},
|
|
58
|
+
expected: 'success or not found'
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
scenario: 'Create Animation Montage',
|
|
62
|
+
toolName: 'animation_physics',
|
|
63
|
+
arguments: {
|
|
64
|
+
action: 'create_animation_asset',
|
|
65
|
+
name: 'TC_Anim_Montage',
|
|
66
|
+
skeletonPath: tutorialSkeleton,
|
|
67
|
+
savePath: '/Game/Animations',
|
|
68
|
+
assetType: 'montage'
|
|
69
|
+
},
|
|
70
|
+
expected: 'success or not found'
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
// === ADD NOTIFY ===
|
|
74
|
+
{
|
|
75
|
+
scenario: 'Add Notify to Montage',
|
|
76
|
+
toolName: 'animation_physics',
|
|
77
|
+
arguments: {
|
|
78
|
+
action: 'add_notify',
|
|
79
|
+
assetPath: '/Game/Animations/TC_Anim_Montage',
|
|
80
|
+
notifyName: 'AnimNotify_PlaySound',
|
|
81
|
+
time: 0.5
|
|
82
|
+
},
|
|
83
|
+
expected: 'success or not found or AUTOMATION_BRIDGE_UNAVAILABLE'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
scenario: 'Add Second Notify',
|
|
87
|
+
toolName: 'animation_physics',
|
|
88
|
+
arguments: {
|
|
89
|
+
action: 'add_notify',
|
|
90
|
+
assetPath: '/Game/Animations/TC_Anim_Montage',
|
|
91
|
+
notifyName: 'AnimNotify_PlayParticleEffect',
|
|
92
|
+
time: 1.0
|
|
93
|
+
},
|
|
94
|
+
expected: 'success or not found'
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
// === PLAY MONTAGE ===
|
|
98
|
+
{
|
|
99
|
+
scenario: 'Play Montage',
|
|
100
|
+
toolName: 'animation_physics',
|
|
101
|
+
arguments: {
|
|
102
|
+
action: 'play_montage',
|
|
103
|
+
actorName: 'SkeletalCharacter',
|
|
104
|
+
montagePath: '/Game/Animations/TC_Anim_Montage',
|
|
105
|
+
playRate: 1.0
|
|
106
|
+
},
|
|
107
|
+
expected: 'success or not found'
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
scenario: 'Play Montage (slow)',
|
|
111
|
+
toolName: 'animation_physics',
|
|
112
|
+
arguments: {
|
|
113
|
+
action: 'play_montage',
|
|
114
|
+
actorName: 'SkeletalCharacter',
|
|
115
|
+
montagePath: '/Game/Animations/TC_Anim_Montage',
|
|
116
|
+
playRate: 0.5
|
|
117
|
+
},
|
|
118
|
+
expected: 'success or not found'
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
// === CREATE BLEND SPACE ===
|
|
122
|
+
{
|
|
123
|
+
scenario: 'Create Blend Space 1D',
|
|
124
|
+
toolName: 'animation_physics',
|
|
125
|
+
arguments: {
|
|
126
|
+
action: 'create_blend_space',
|
|
127
|
+
name: 'TC_BS_Locomotion',
|
|
128
|
+
skeletonPath: tutorialSkeleton,
|
|
129
|
+
savePath: '/Game/Animations',
|
|
130
|
+
horizontalAxis: { name: 'Speed', minValue: 0, maxValue: 600 },
|
|
131
|
+
animations: []
|
|
132
|
+
},
|
|
133
|
+
expected: 'success - blend space created'
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
scenario: 'Create Blend Space 2D',
|
|
137
|
+
toolName: 'animation_physics',
|
|
138
|
+
arguments: {
|
|
139
|
+
action: 'create_blend_space',
|
|
140
|
+
name: 'TC_BS_Movement',
|
|
141
|
+
skeletonPath: tutorialSkeleton,
|
|
142
|
+
savePath: '/Game/Animations',
|
|
143
|
+
horizontalAxis: { name: 'Speed', minValue: 0, maxValue: 600 },
|
|
144
|
+
verticalAxis: { name: 'Direction', minValue: -180, maxValue: 180 },
|
|
145
|
+
animations: []
|
|
146
|
+
},
|
|
147
|
+
expected: 'success'
|
|
148
|
+
},
|
|
149
|
+
|
|
150
|
+
// === CREATE STATE MACHINE ===
|
|
151
|
+
{
|
|
152
|
+
scenario: 'Create State Machine',
|
|
153
|
+
toolName: 'animation_physics',
|
|
154
|
+
arguments: {
|
|
155
|
+
action: 'create_state_machine',
|
|
156
|
+
machineName: 'TC_StateMachine',
|
|
157
|
+
states: [{ name: 'Idle' }, { name: 'Walk' }, { name: 'Run' }, { name: 'Jump' }],
|
|
158
|
+
transitions: []
|
|
159
|
+
},
|
|
160
|
+
expected: 'success'
|
|
161
|
+
},
|
|
162
|
+
|
|
163
|
+
// === CREATE BLEND TREE ===
|
|
164
|
+
{
|
|
165
|
+
scenario: 'Create Blend Tree',
|
|
166
|
+
toolName: 'animation_physics',
|
|
167
|
+
arguments: {
|
|
168
|
+
action: 'create_blend_tree',
|
|
169
|
+
treeName: 'TC_BlendTree',
|
|
170
|
+
basePose: '/Game/Animations/TC_Anim_Sequence',
|
|
171
|
+
additiveAnimations: []
|
|
172
|
+
},
|
|
173
|
+
expected: 'success'
|
|
174
|
+
},
|
|
175
|
+
|
|
176
|
+
// === SETUP IK ===
|
|
177
|
+
{
|
|
178
|
+
scenario: 'Setup IK (Foot)',
|
|
179
|
+
toolName: 'animation_physics',
|
|
180
|
+
arguments: {
|
|
181
|
+
action: 'setup_ik',
|
|
182
|
+
actorName: 'Character',
|
|
183
|
+
chain: { rootBone: 'pelvis', endBone: 'foot_l' },
|
|
184
|
+
effector: { targetActor: 'TargetActor' }
|
|
185
|
+
},
|
|
186
|
+
expected: 'success'
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
scenario: 'Setup IK (Hand)',
|
|
190
|
+
toolName: 'animation_physics',
|
|
191
|
+
arguments: {
|
|
192
|
+
action: 'setup_ik',
|
|
193
|
+
actorName: 'Character',
|
|
194
|
+
chain: { rootBone: 'spine_01', endBone: 'hand_r' },
|
|
195
|
+
effector: { targetActor: 'HandTarget' }
|
|
196
|
+
},
|
|
197
|
+
expected: 'success'
|
|
198
|
+
},
|
|
199
|
+
|
|
200
|
+
// === CREATE PROCEDURAL ANIM ===
|
|
201
|
+
{
|
|
202
|
+
scenario: 'Create Procedural Animation',
|
|
203
|
+
toolName: 'animation_physics',
|
|
204
|
+
arguments: {
|
|
205
|
+
action: 'create_procedural_anim',
|
|
206
|
+
systemName: 'TC_ProceduralAnim',
|
|
207
|
+
baseAnimation: '/Game/Animations/TC_Anim_Sequence',
|
|
208
|
+
settings: {}
|
|
209
|
+
},
|
|
210
|
+
expected: 'success'
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
// === RAGDOLL ===
|
|
214
|
+
{
|
|
215
|
+
scenario: 'Setup Ragdoll',
|
|
216
|
+
toolName: 'animation_physics',
|
|
217
|
+
arguments: {
|
|
218
|
+
action: 'setup_ragdoll',
|
|
219
|
+
skeletonPath: tutorialSkeleton,
|
|
220
|
+
actorName: 'RagdollCharacter',
|
|
221
|
+
physicsAssetName: 'TC_PhysicsAsset',
|
|
222
|
+
blendWeight: 1.0
|
|
223
|
+
},
|
|
224
|
+
expected: 'success or not found'
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
scenario: 'Activate Ragdoll',
|
|
228
|
+
toolName: 'animation_physics',
|
|
229
|
+
arguments: {
|
|
230
|
+
action: 'activate_ragdoll',
|
|
231
|
+
actorName: 'RagdollCharacter',
|
|
232
|
+
blendTime: 0.2
|
|
233
|
+
},
|
|
234
|
+
expected: 'success|not_found'
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
// === PHYSICS SIMULATION ===
|
|
238
|
+
{
|
|
239
|
+
scenario: 'Setup Physics Simulation',
|
|
240
|
+
toolName: 'animation_physics',
|
|
241
|
+
arguments: {
|
|
242
|
+
action: 'setup_physics_simulation',
|
|
243
|
+
skeletonPath: tutorialSkeleton,
|
|
244
|
+
savePath: '/Game/Physics',
|
|
245
|
+
physicsAssetName: 'TC_PhysAsset',
|
|
246
|
+
assignToMesh: false
|
|
247
|
+
},
|
|
248
|
+
expected: 'success or not found'
|
|
249
|
+
},
|
|
250
|
+
|
|
251
|
+
// === CONFIGURE VEHICLE ===
|
|
252
|
+
{
|
|
253
|
+
scenario: 'Configure Vehicle (4 wheels)',
|
|
254
|
+
toolName: 'animation_physics',
|
|
255
|
+
arguments: {
|
|
256
|
+
action: 'configure_vehicle',
|
|
257
|
+
vehicleName: 'TC_Vehicle',
|
|
258
|
+
vehicleType: 'FourWheel'
|
|
259
|
+
},
|
|
260
|
+
expected: 'success|handled'
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
scenario: 'Configure Vehicle (custom)',
|
|
264
|
+
toolName: 'animation_physics',
|
|
265
|
+
arguments: {
|
|
266
|
+
action: 'configure_vehicle',
|
|
267
|
+
vehicleName: 'TC_Vehicle',
|
|
268
|
+
maxRPM: 6000,
|
|
269
|
+
wheels: []
|
|
270
|
+
},
|
|
271
|
+
expected: 'success|default_wheels'
|
|
272
|
+
},
|
|
273
|
+
|
|
274
|
+
// === RETARGETING ===
|
|
275
|
+
{
|
|
276
|
+
scenario: 'Pre-cleanup Retargeted asset',
|
|
277
|
+
toolName: 'manage_asset',
|
|
278
|
+
arguments: { action: 'delete', assetPaths: ['/Game/Animations/Retargeted/TC_Anim_Retargeted'] },
|
|
279
|
+
expected: 'success|not_found|error'
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
scenario: 'Setup Retargeting',
|
|
283
|
+
toolName: 'animation_physics',
|
|
284
|
+
arguments: {
|
|
285
|
+
action: 'setup_retargeting',
|
|
286
|
+
sourceSkeleton: tutorialSkeleton,
|
|
287
|
+
targetSkeleton: tutorialSkeleton,
|
|
288
|
+
assets: ['/Game/Animations/TC_Anim_Sequence'],
|
|
289
|
+
savePath: '/Game/Animations/Retargeted',
|
|
290
|
+
overwrite: true
|
|
291
|
+
},
|
|
292
|
+
expected: 'success or not connected or not found'
|
|
293
|
+
},
|
|
294
|
+
|
|
295
|
+
// === ERROR CASES ===
|
|
296
|
+
{
|
|
297
|
+
scenario: 'Error: Invalid skeleton path',
|
|
298
|
+
toolName: 'animation_physics',
|
|
299
|
+
arguments: {
|
|
300
|
+
action: 'create_animation_asset',
|
|
301
|
+
name: 'InvalidAnim',
|
|
302
|
+
skeletonPath: '/Game/Invalid/Skeleton',
|
|
303
|
+
assetType: 'sequence'
|
|
304
|
+
},
|
|
305
|
+
expected: 'error|asset_not_found'
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
scenario: 'Error: Play rate 0 (pause)',
|
|
309
|
+
toolName: 'animation_physics',
|
|
310
|
+
arguments: {
|
|
311
|
+
action: 'play_montage',
|
|
312
|
+
actorName: 'SkeletalCharacter',
|
|
313
|
+
montagePath: '/Game/Animations/TC_Anim_Montage',
|
|
314
|
+
playRate: 0
|
|
315
|
+
},
|
|
316
|
+
expected: 'success|no_op'
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
scenario: 'Error: Negative RPM vehicle',
|
|
320
|
+
toolName: 'animation_physics',
|
|
321
|
+
arguments: {
|
|
322
|
+
action: 'configure_vehicle',
|
|
323
|
+
vehicleName: 'TestVehicle',
|
|
324
|
+
maxRPM: -1000
|
|
325
|
+
},
|
|
326
|
+
expected: 'success|clamped'
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
scenario: 'Error: Invalid plugin deps',
|
|
330
|
+
toolName: 'animation_physics',
|
|
331
|
+
arguments: {
|
|
332
|
+
action: 'configure_vehicle',
|
|
333
|
+
vehicleName: 'TestVehicle',
|
|
334
|
+
plugins: ['InvalidPlugin']
|
|
335
|
+
},
|
|
336
|
+
expected: 'error|plugin_missing|MISSING_ENGINE_PLUGINS'
|
|
337
|
+
},
|
|
338
|
+
|
|
339
|
+
// === CLEANUP ===
|
|
340
|
+
{
|
|
341
|
+
scenario: 'Cleanup all animation artifacts',
|
|
342
|
+
toolName: 'animation_physics',
|
|
343
|
+
arguments: {
|
|
344
|
+
action: 'cleanup',
|
|
345
|
+
filter: 'TC_*'
|
|
346
|
+
},
|
|
347
|
+
expected: 'success or no matching'
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
scenario: 'Cleanup animation assets',
|
|
351
|
+
toolName: 'manage_asset',
|
|
352
|
+
arguments: {
|
|
353
|
+
action: 'delete',
|
|
354
|
+
assetPaths: [
|
|
355
|
+
'/Game/Animations/TC_ABP_Character',
|
|
356
|
+
'/Game/Animations/TC_ABP_Minimal',
|
|
357
|
+
'/Game/Animations/TC_Anim_Sequence',
|
|
358
|
+
'/Game/Animations/TC_Anim_Montage',
|
|
359
|
+
'/Game/Animations/TC_BS_Locomotion',
|
|
360
|
+
'/Game/Animations/TC_BS_Movement',
|
|
361
|
+
'/Game/Animations/Retargeted',
|
|
362
|
+
'/Game/Physics/TC_PhysAsset'
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
expected: 'success|not_found'
|
|
366
|
+
}
|
|
42
367
|
];
|
|
43
368
|
|
|
44
369
|
await runToolTests('Animation & Physics', testCases);
|