VR headset object management
This commit is contained in:
@@ -75,7 +75,7 @@ export default{
|
||||
this.animations = gltf.animations.map(a => ({
|
||||
name: a.name, id: a.uuid
|
||||
}));
|
||||
//gameEngine.autoScale(gltf.scene);
|
||||
gameEngine.autoScale(gltf.scene);
|
||||
let bb = new gameEngine.$.Box3().setFromObject(gltf.scene);
|
||||
gltf.scene.traverse(function (o) {
|
||||
o.frustumCulled = false;
|
||||
|
||||
@@ -20,7 +20,7 @@ export default {
|
||||
data(){
|
||||
return {
|
||||
query: {
|
||||
type: { $in: this.$p.objectTypes.filter(t=>t.type == this.type || !this.type).map(t=>t.value) }
|
||||
type: { $in: this.$p.objectTypes.filter(t=>!this.type || this.type.includes(t.type)).map(t=>t.value) }
|
||||
},
|
||||
activatorProps:{},
|
||||
dialog: false
|
||||
|
||||
Reference in New Issue
Block a user