You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Svelte 4, Threlte was able to provide the appropriate requestAnimationFrame via set_raf (implemented here) but this ability is currently missing in Svelte 5.
Describe the proposed solution
Expose a method to set the driver of tweened and spring and other motion-based utilities, possibly per-instance.
Importance
nice to have
The text was updated successfully, but these errors were encountered:
Describe the problem
The usage of
requestAnimationFrame
-basedtweened
andspring
fails in XR since anXRSession
provides its ownrequestAnimationFrame
.With Svelte 4, Threlte was able to provide the appropriate
requestAnimationFrame
viaset_raf
(implemented here) but this ability is currently missing in Svelte 5.Describe the proposed solution
Expose a method to set the driver of
tweened
andspring
and other motion-based utilities, possibly per-instance.Importance
nice to have
The text was updated successfully, but these errors were encountered: