How to use show dimensions in react? #4235
-
Hi, I'm using the model viewer with React. I want to implement Show Dimensions in the model viewer's own documentation, but it doesn't work in React. How can I solve this problem? For example: getBoundingBoxCenter not working with react |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I don't see any reason one API would fail in React while the others work. What version of MV are you using? Can you show a repro link where |
Beta Was this translation helpful? Give feedback.
-
thanks |
Beta Was this translation helpful? Give feedback.
I don't see any reason one API would fail in React while the others work. What version of MV are you using? Can you show a repro link where
getBoundingBoxCenter
isn't working, or share an error message or something?