xr gamepad designmode controls

This commit is contained in:
2026-02-20 20:38:57 +02:00
parent c6cd7bbeb9
commit 8954770ff7
5 changed files with 52 additions and 43 deletions
@@ -58,7 +58,8 @@ export default{
this.gameEngine = gameEngine;
await gameEngine.init(this.$refs.target, {
gizmo: true,
xr: true,
xr: true,
mode: 'ObjectPreview'
});
await this.loadAsset();
}
@@ -1,7 +1,7 @@
import { Group, MeshStandardMaterial, Mesh, SphereGeometry, Vector3 } from "three";
import { EventManager } from '@/lib/EventManager';
import { GenericObject } from "./GenenricObject";
import { GenericObject } from "./GenericObject";
import { TextObject } from "./TextObject";
import { ImageObject } from "./ImageObject";
import { GltfObject } from "./GltfObject";