Hello! I’m familiar with the discussion on “Sending messages to the scene”, and I’ve successfully used that code. However, I have several instances of the same model in my scene. Is it possible to make only one specific model respond to a notification? For example, can I pass something like RealityKit.NotificationTrigger.SourceEntity in userInfo or use another method to target just one instance?
How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here
Launching a timeline on a specific model via notification
Boosting this because I would love to know too. When create timelines, all the actions in the timeline specify the entity they work on. I don't know if there is a way to do this, but I hope there is.
In the meantime, if you want to do these actions in code without the Timelines, we can use Entity Actions. This lets us create an action and call it on an entity. The has been my go-to workaround for now. It can still take a bit of work to chain multiple actions together.