这是indexloc提供的服务,不要输入任何密码
Skip to content

Feature/spring operator #420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 9, 2024
Merged

Conversation

newemka
Copy link
Contributor

@newemka newemka commented Apr 16, 2024

The [Spring] operator is a port of this spring movement function

Spring-V01.mp4

newemka added 3 commits April 16, 2024 17:34
An elastic alternative to damp
Quick fix to make it work with new Points attributes and quaternion functions
@pixtur pixtur merged commit 51e86ad into tixl3d:dev May 9, 2024
@pixtur
Copy link
Collaborator

pixtur commented May 9, 2024

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.

@newemka
Copy link
Contributor Author

newemka commented May 9, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants