Using the guide here and using the linked typescript for SceneComponent.tsx I assume I need implementations for scene.tsx and engine.tsx but I don’t know what they should look like. Does anyone have a boilerplate or can advise?
hi @slacker
I should remove that TypeScript link from the guide! What happened was that all of the code was originally a single file, but was split to be better organized in Oct 2020. You can copy the 3 files into your project from here: babylonjs-hook/src at master · brianzinn/babylonjs-hook (github.com)
If you are doing that may be easier to use node package…