Skip to content

Commit a15d5f7

Browse files
committed
fix(config): fix rifle path and add rifle model
1 parent 30897c3 commit a15d5f7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

assets/gltf/weapons/rifle.glb

9.59 MB
Binary file not shown.

config/playgrounds/model.jsonc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
},
153153
"models": {
154154
"drone": "assets/gltf/mech_drone/mech_drone.glb",
155-
"gun": "assets/gltf/gun/gun.glb"
155+
"gun": "assets/gltf/weapons/rifle.glb"
156156
}
157157
},
158158
"game": {
@@ -281,9 +281,9 @@
281281
],
282282
"children": [
283283
{
284-
"position": [1, -1, -1],
284+
"position": [1, -1, -2],
285285
"rotation": [0, 0, 0],
286-
"scale": [0.5, 0.5, 0.5],
286+
"scale": [0.3, 0.3, 0.3],
287287
"components": [
288288
{
289289
"type": "Model Renderer",

0 commit comments

Comments
 (0)