@margoengine/ragdoll 0.1.0 → 1.0.0
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/LICENSE +201 -201
- package/NOTICE +4 -4
- package/README.md +431 -381
- package/dist/balance.d.ts +57 -0
- package/dist/balance.js +272 -152
- package/dist/character.d.ts +200 -0
- package/dist/character.js +325 -0
- package/dist/errors-CDwcEs-j.js +5 -0
- package/dist/errors.d.ts +3 -0
- package/dist/getup.js +57 -56
- package/dist/hulls.js +85 -82
- package/dist/index.d.ts +1 -1
- package/dist/index.js +559 -302
- package/dist/powered.js +79 -78
- package/dist/profile.js +100 -99
- package/dist/ragdoll.d.ts +17 -1
- package/package.json +86 -82
package/package.json
CHANGED
|
@@ -1,82 +1,86 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@margoengine/ragdoll",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Ragdolls on Margo physics: capsule bodies from a skeleton, cone and hinge joint limits, kinematic hit boxes, going limp and blending back to the animation.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"margoengine",
|
|
7
|
-
"webgpu",
|
|
8
|
-
"3d",
|
|
9
|
-
"ragdoll",
|
|
10
|
-
"physics",
|
|
11
|
-
"animation"
|
|
12
|
-
],
|
|
13
|
-
"homepage": "https://margoengine.com",
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
16
|
-
},
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
20
|
-
"directory": "packages/ragdoll"
|
|
21
|
-
},
|
|
22
|
-
"license": "Apache-2.0",
|
|
23
|
-
"author": "Scott Campbell",
|
|
24
|
-
"type": "module",
|
|
25
|
-
"sideEffects": false,
|
|
26
|
-
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"types": "./dist/index.d.ts",
|
|
29
|
-
"import": "./dist/index.js"
|
|
30
|
-
},
|
|
31
|
-
"./powered": {
|
|
32
|
-
"types": "./dist/powered.d.ts",
|
|
33
|
-
"import": "./dist/powered.js"
|
|
34
|
-
},
|
|
35
|
-
"./getup": {
|
|
36
|
-
"types": "./dist/getup.d.ts",
|
|
37
|
-
"import": "./dist/getup.js"
|
|
38
|
-
},
|
|
39
|
-
"./hulls": {
|
|
40
|
-
"types": "./dist/hulls.d.ts",
|
|
41
|
-
"import": "./dist/hulls.js"
|
|
42
|
-
},
|
|
43
|
-
"./profile": {
|
|
44
|
-
"types": "./dist/profile.d.ts",
|
|
45
|
-
"import": "./dist/profile.js"
|
|
46
|
-
},
|
|
47
|
-
"./balance": {
|
|
48
|
-
"types": "./dist/balance.d.ts",
|
|
49
|
-
"import": "./dist/balance.js"
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"@margoengine/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"@margoengine/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@margoengine/ragdoll",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Ragdolls on Margo physics: capsule bodies from a skeleton, cone and hinge joint limits, kinematic hit boxes, going limp and blending back to the animation.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"margoengine",
|
|
7
|
+
"webgpu",
|
|
8
|
+
"3d",
|
|
9
|
+
"ragdoll",
|
|
10
|
+
"physics",
|
|
11
|
+
"animation"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://margoengine.com",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
20
|
+
"directory": "packages/ragdoll"
|
|
21
|
+
},
|
|
22
|
+
"license": "Apache-2.0",
|
|
23
|
+
"author": "Scott Campbell",
|
|
24
|
+
"type": "module",
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./powered": {
|
|
32
|
+
"types": "./dist/powered.d.ts",
|
|
33
|
+
"import": "./dist/powered.js"
|
|
34
|
+
},
|
|
35
|
+
"./getup": {
|
|
36
|
+
"types": "./dist/getup.d.ts",
|
|
37
|
+
"import": "./dist/getup.js"
|
|
38
|
+
},
|
|
39
|
+
"./hulls": {
|
|
40
|
+
"types": "./dist/hulls.d.ts",
|
|
41
|
+
"import": "./dist/hulls.js"
|
|
42
|
+
},
|
|
43
|
+
"./profile": {
|
|
44
|
+
"types": "./dist/profile.d.ts",
|
|
45
|
+
"import": "./dist/profile.js"
|
|
46
|
+
},
|
|
47
|
+
"./balance": {
|
|
48
|
+
"types": "./dist/balance.d.ts",
|
|
49
|
+
"import": "./dist/balance.js"
|
|
50
|
+
},
|
|
51
|
+
"./character": {
|
|
52
|
+
"types": "./dist/character.d.ts",
|
|
53
|
+
"import": "./dist/character.js"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"dist",
|
|
58
|
+
"LICENSE",
|
|
59
|
+
"NOTICE"
|
|
60
|
+
],
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"@margoengine/math": "^1.0.0"
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@margoengine/animator": "^1.0.0",
|
|
69
|
+
"@margoengine/core": "^1.0.0",
|
|
70
|
+
"@margoengine/physics": "^1.0.0",
|
|
71
|
+
"@margoengine/rigging": "^1.0.0"
|
|
72
|
+
},
|
|
73
|
+
"peerDependenciesMeta": {
|
|
74
|
+
"@margoengine/animator": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"@margoengine/rigging": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"scripts": {
|
|
82
|
+
"build": "node ../../scripts/build-optional.js ragdoll",
|
|
83
|
+
"test": "npm run build && node --test tests/*.test.js",
|
|
84
|
+
"prepack": "npm run build"
|
|
85
|
+
}
|
|
86
|
+
}
|