spoint 0.1.75 → 0.1.76
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/apps/environment/index.js +6 -1
- package/apps/world/index.js +1 -1
- package/client/anim-lib.glb +0 -0
- package/package.json +1 -1
|
@@ -25,7 +25,12 @@ export default {
|
|
|
25
25
|
server: {
|
|
26
26
|
setup(ctx) {
|
|
27
27
|
ctx.physics.setStatic(true)
|
|
28
|
-
|
|
28
|
+
try {
|
|
29
|
+
ctx.physics.addTrimeshCollider()
|
|
30
|
+
} catch (e) {
|
|
31
|
+
ctx.debug.log(`[Environment] Trimesh collider failed (likely Draco compression), using fallback box collider: ${e.message}`)
|
|
32
|
+
ctx.physics.addBoxCollider([50, 0.5, 50])
|
|
33
|
+
}
|
|
29
34
|
|
|
30
35
|
ctx.state.smartObjects = new Map()
|
|
31
36
|
ctx.state.editorMode = false
|
package/apps/world/index.js
CHANGED
|
@@ -65,6 +65,6 @@ export default {
|
|
|
65
65
|
// To use the primitive arena instead of schwust.glb, replace above with:
|
|
66
66
|
// { id: 'arena', position: [0, 0, 0], app: 'arena' }
|
|
67
67
|
],
|
|
68
|
-
playerModel: './apps/tps-game/cleetus.
|
|
68
|
+
playerModel: './apps/tps-game/cleetus.vrm',
|
|
69
69
|
spawnPoint: [-35, 3, -65]
|
|
70
70
|
}
|
package/client/anim-lib.glb
CHANGED
|
Binary file
|