Hii,
https://codesandbox.io/s/codesandbox-react-tsx-forked-co1v70?file=/src/App.tsx
In this code, I created a ribbon and dragged it with gizmo. In React Babylon JS, how can I add a dynamic text to this ribbon?
Hii,
https://codesandbox.io/s/codesandbox-react-tsx-forked-co1v70?file=/src/App.tsx
In this code, I created a ribbon and dragged it with gizmo. In React Babylon JS, how can I add a dynamic text to this ribbon?
Hello,
You can draw text using a variety of methods, like Dynamic Textures Dynamic Textures | Babylon.js Documentation (babylonjs.com) and the Babylon GUI The Babylon GUI | Babylon.js Documentation (babylonjs.com)
Thankyou .
https://playground.babylonjs.com/#XCPP9Y#16
In this playground, linkWithMesh property used for attaching text with sphere .
How reactbaylonjs makes use of this property ?
react-babylonjs is just a wrapper around Babylon so it works exactly the same There’s an example of linkWithMesh usage in the official react-babylonjs docs https://brianzinn.github.io/react-babylonjs/examples/gui/gui-demo