Im looking at building an in browser digital twin application using React JS, and am looking into possible options for rendering a 3D model which the user can freely manipulate and move the camera about.
Could I add in godot as a component to act as a model viewer and then use that to trigger responses and changes in the rest of my UI?
Ive got the react UI set up and ready to go, I basically just need a viewer to add into it
Below are the steps to integrate Godot Engine into a React JS web application using a digital twin application:
react-godotusing npm for integrating Godot Engine with React applications.Refer to this for the Godot engine within the React.
Code taken from the DOC.
Azure Digital Twins Single-page Application.
Below is the code for a digital twin application using React JS. Code:
Output: