Dynamic Mesh Updates

Dear all,

In "Explore advanced rendering with RealityKit 2," Courtland presents how one can efficiently leverage dynamic meshes in RealityKit and update them at runtime.

My question is quite practical: Say, I have

  1. a model of fixed topology and
  2. a set of animations (coordinates of each vertex per frame, finite duration)

that I can only generate at runtime.

  • How do I drive the mesh updates at 60FPS?
  • Can I define a reusable Animation Resource for every animation once at startup and then schedule their playback like simple transform animations?

Any helpful reply pointing me in the right direction is appreciated. Thank you.

~ Alexander