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
Hey Spline team,
First of all, congrats for your amazing work.
I'm in trouble with one of my scenes. I have a simple torus knot and I change its weight binding on an html input range.
The weight is stored within a react state, and when this state updates, the spline scene calls the method setVariable to update the knot weight.
No issue to do so, everything working great.. until I change the screen size.
In fact, I have a window resize event on the same knot, in order to handle responsiveness.
So what happens is :
everything works great when changing weight
resizing screen ( to enter mobile view ) => works
changing weight variable not working anymore
context is Next.js 13
The text was updated successfully, but these errors were encountered:
Hi! Do you mind sharing your scene so we can test and reproduce?
If you don't want to share your scene here you can send your scene link at [email protected] with a link to this issue.
Thanks!
Hey Spline team, First of all, congrats for your amazing work.
I'm in trouble with one of my scenes. I have a simple torus knot and I change its weight binding on an html input range. The weight is stored within a react state, and when this state updates, the spline scene calls the method setVariable to update the knot weight. No issue to do so, everything working great.. until I change the screen size. In fact, I have a window resize event on the same knot, in order to handle responsiveness.
So what happens is :
everything works great when changing weight
resizing screen ( to enter mobile view ) => works
changing weight variable not working anymore
context is Next.js 13
Hi both!
Could I get some help? I am trying to do exactly the same without success. I don't know how to initialize the variables correctly from the React side. Besides, I don't know how can I assign my state variable to it. I have already done that with the rotation and position of an object, but not with a variable.
Any help would be much appreciated.
Thank you for your work with this repo!
Hey Spline team,
First of all, congrats for your amazing work.
I'm in trouble with one of my scenes. I have a simple torus knot and I change its weight binding on an html input range.
The weight is stored within a react state, and when this state updates, the spline scene calls the method setVariable to update the knot weight.
No issue to do so, everything working great.. until I change the screen size.
In fact, I have a window resize event on the same knot, in order to handle responsiveness.
So what happens is :
context is Next.js 13
The text was updated successfully, but these errors were encountered: