Closed newemka closed 6 months ago
I love it! We should add a small comment to [Damp] so people will find this alternative interpolation. In the long term, it might also be cool to have something like [DampPoints]. However this will involve a secondary structured buffer to store the velocities. So it's probably going to be more involved.
I'm glad you like it! I'll will make its vec2 and vec3 siblings. For this I think I'll need to have the spring function somewhere else in order to use it multiple times. Should I add to MathUtils.cs ?
The [Spring] operator is a port of this spring movement function
https://github.com/tooll3/t3/assets/3755089/4b21f6f3-0994-4d54-bc37-ec14689ae970