Skip to content
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

Cannot set initial position on right side because of spring effect #32

Open
samuelchou opened this issue Jun 16, 2020 · 1 comment
Open

Comments

@samuelchou
Copy link

The magnet initial position (or setInitialPosition(x,y) ) is not working right -- the x parameter (setting horizontal position) would never work, since the spring effect every update when moving -- including move to initial position.

I've tried resetting the SpringConfig , but that does not help.

@samuelchou
Copy link
Author

actually... due to spring effect, it looks like that stop position is never where the initial position set.

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

No branches or pull requests

1 participant