mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
This commit is contained in:
1 parent
3f54e467d8
commit
9d12c936b4
1 file changed
+3
@@ -42,6 +42,9 @@ function Content({ parameters }: TankopediaSandboxProps) {
|
|||||||
|
|
||||||
const hull = useLoader(GLTFLoader, `/models/tanks/${tank.id}/hull.glb`);
|
const hull = useLoader(GLTFLoader, `/models/tanks/${tank.id}/hull.glb`);
|
||||||
const chassis = useLoader(GLTFLoader, `/models/tanks/${tank.id}/chassis.glb`);
|
const chassis = useLoader(GLTFLoader, `/models/tanks/${tank.id}/chassis.glb`);
|
||||||
|
|
||||||
|
console.log(chassis);
|
||||||
|
|
||||||
const turret = useLoader(
|
const turret = useLoader(
|
||||||
GLTFLoader,
|
GLTFLoader,
|
||||||
`/models/tanks/${tank.id}/${selectedTurret}.glb`,
|
`/models/tanks/${tank.id}/${selectedTurret}.glb`,
|
||||||
|
|||||||
Reference in new issue
Block a user