Mesh adds bounding boxes



I see what you mean, but some things really hard to do it, now I am a novice, I found a problem, just seems to be the scene inspector shows that there are a lot of RootNode, when I create the TransformNode, and give me the model of the parent, can appear empty RootNode, this seems to be related to the TransformNode itself, still have even if, why my model after binding TransNode, there will be a model so far removed, another thing, can see my screenshot, some ID display is a model of the model,But some ids show names with suffixes, I don’t understand, in the same building

As well as your big project you need to do little tests. Write a separate routine that loads just one model and experiment with TransformNode and parents and child.

A new question on a new point. Please experiment with just one model.

I am sorry. I have helped you as far as I can. Your project is too large and your questions too complicated for me to help any more. You need to find a way of focusing on one problem and produce a simple playground showing that problem.

thank you very much, just send questions to you: I have been solved, in you gave me the PG have modified it again, but unfortunately, when I add TransforrmNode to each model, model of image, the original is on the left side of the model is loaded into the right, I now is to find a way to solve it, there is no clue, I thank you for your reply, you have been helping me!!

thank you. It says a lot of I don’t understand, I don’t know why he wants, but @bghgary绝地大师said use right hand coordinate system (scene. UseRightHandedSystem = true), now I solved the problem

1 Like

http://www.fundza.com/rib/example4/index.html

Babylon.js uses a left hand system scene. UseRightHandedSystem = true makes it a right hand system. Other apps use a right hand system and when their models are exported the data is for a right hand system.

hey!Brothers!Thank you very much for taking the time to reply to me. As for what you sent, I read it with my eyes last night. In fact, what he said was true.Babylonjs is using a left-handed coordinate system,

https://playground.babylonjs.com/#U8MEB0#46
hello, want to ask, I now there are two groups of models, they all have the TransformNode, but now they are hidden by mouse model appeared before a little problem, now my PG there are two groups of model, when I click on the first set of model, he will put the second set of models to hide, I want them to control their own to hide and display, how should I change

@JohnK
Hey friend!i’m sorry,but i need you help!
this my PG project, Has achieved the camera I close distance, although soon, but at least to the function, the only one, how to don’t let the other buildings also click model with hidden (I use instead of rabbit), I was really no way out, I want me to click on the building, is hidden at the top of the selected building model, so you can help me!Thank you very much!
https://playground.babylonjs.com/#U8MEB0#59

Sorry I really do not understand.

Do you write in Chinese and then use Google translate or do you try to write in English?

There are two sets of models in my PG. When I select a set of models, they will be hidden together with the second set of models. This is not what I want. My purpose is to select which set of models to hide only the top of the selected model. model

Something like the following pseudo code

modelSelected = false;
if (scene is clicked) {
    if(model is hit) { 
        if (modelSelected) {
             modelSelected = true;
             zoom to model;
             anything more to be done;
        }
        else {
            hide a floor;
            something more if needed;
        }
    }
    else {
        modelSelected = false;
    }
}


sorry! what is mean zoom to model

I though you wanted to zoom into the model with the camera. My statements are just possibilities. Add whatever code you need.

@ Deltakosh
Sorry!I need you help!
There are two sets of models in my PG. When I select a set of models, they will be hidden together with the second set of models. This is not what I want. My purpose is to select which set of models to hide only the top of the selected model. model
https://playground.babylonjs.com/#U8MEB0#59

https://www.babylonjs-playground.com/#MECK03#17

this is my PG, my resources cannot be loaded, I operate according to the documents on the official website

Sorry, I used the external asset example to load it