Skip to content

Commit 1dd6476

Browse files
committed
feat: add mixamo2vrma script
1 parent 25f7b99 commit 1dd6476

File tree

10 files changed

+528
-21
lines changed

10 files changed

+528
-21
lines changed
0 Bytes
Binary file not shown.

app/src/assets/motions/walk.vrma

8 Bytes
Binary file not shown.

app/src/utils/yuka/goals/follow.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,11 @@ export class FollowGoal extends CompositeGoal<Galatea> {
1212
activate() {
1313
this.clearSubgoals()
1414

15-
// const owner = this.owner
16-
17-
// owner.ui.currentGoal.textContent = GATHER
18-
1915
// this.addSubgoal(new FindNextCollectibleGoal(owner))
2016
// this.addSubgoal(new SeekToCollectibleGoal(owner))
2117
// this.addSubgoal(new PickUpCollectibleGoal(owner))
2218
this.addSubgoal(new SeekToPlayerGoal(this.owner!))
2319

24-
this.owner!.vrm?.humanoid.resetNormalizedPose()
2520
this.owner!.actions.idle?.fadeOut(0.5).stop()
2621
}
2722

cspell.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ words:
3131
- tsup
3232
- uikit
3333
- vrma
34+
- vrmc
3435
- yuka
3536
ignoreWords: []
3637
import: []

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"build": "pnpm -r build",
1010
"bump": "bumpp",
1111
"dev": "pnpm -rF @n3p6/app dev",
12-
"lint": "eslint --cache ."
12+
"lint": "eslint --cache .",
13+
"mixamo2vrma": "tsx scripts/mixamo2vrma.ts"
1314
},
1415
"devDependencies": {
1516
"@antfu/eslint-config": "^4.12.0",
@@ -23,7 +24,9 @@
2324
"eslint-plugin-react-compiler": "catalog:react",
2425
"eslint-plugin-react-hooks": "^5.2.0",
2526
"eslint-plugin-react-refresh": "^0.4.20",
27+
"gltf-pipeline": "^4.1.0",
2628
"pkgroll": "^2.12.2",
29+
"tsx": "^4.19.4",
2730
"typescript": "^5.8.3",
2831
"vite": "^6.3.4",
2932
"vite-tsconfig-paths": "^5.1.4"

0 commit comments

Comments
 (0)