How to add a custom observable to the scene?

I am perfectly able to create and use a custom observable for a mesh, but not for a scene. Is this a bug or a feature?

Could you provide a repro in the PG (even if it fails), as I’m not sure to fully understand your request?

1 Like

Have a look here how a custom observable was added to Scene for physics. It’s patched to scene prototype (there is code lower down also for AbstractMesh). Is this how you are doing it?

2 Likes

@Evgeni_Popov @brianzinn Guys, thank you for assistance. My TS knowledge is still at its infancy, and probably that’s the source of trouble. All is good now, I have that custom observable working, I believe I was missing the observable name before notifyObservers() method.

1 Like