Trigger when a new object is added or removed of the scene

Hi,

I’m creating a ground plane to project the shadow, and I would like to detect when a new object is added or removed, in other to update the Z of that ground plane. Is this possible?

Like an event watcher to detect scene changes.

Thanks,

TC

It’s possible to notify a child when it’s added/removed to the scene.

To make the scene react on adding/removing its children will require you to write custom code or modify the library.

1 Like