Load spline events from Scene into r3f #19
Answered
by
superguigui
guerragiuseppe1507
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
superguigui
Sep 4, 2023
Replies: 1 comment
-
Hi ! Currently spline events are not supported in R3F exports and three.js exports. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
guerragiuseppe1507
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi ! Currently spline events are not supported in R3F exports and three.js exports.
There are various reasons for that, mainly because those events rely on Spline runtime and the r3f export is using a simpler loader.
In r3f export it's assumed for the user to manually handle events from react code instead which can be an advantage in some situation where you need more control.
If you want to use spline events in react then you can use the react export which relies on Spline runtime.