Looking for a bit of insight on how to use Babylon inside an angular component.
I have a basic setup with a ‘hello world’ babylon component and if I hit my application directly on the page for that Canvas item that hold babylonjs it renders perfectly. But if I navigate off the page inside the App using Routing for angular and come back to the page it doesn’t re-render. I am assuming I need to hook into some sort of event to trigger it. Have put a crap load of effort to figure out what happens differently from the component’s lifecycle using internal routing vs direct url . haven’t got a clue doesn’t appear to be anthing that doesn’t get called.
Anyone with any thoughts on what to look at or ideas of what is wrong?
I would post the code but it is needs a complete angular dev with mulitple files etc etc …