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

[raycast-linecast] Twitching upon hook collision with element #3

Open
Pampattitude opened this issue Oct 18, 2015 · 1 comment
Open
Assignees

Comments

@Pampattitude
Copy link
Owner

/!\ This affects the v2.0 branch, raycast-linecast.

Upon colliding with a wall, the hook makes the target element twitch (probably because of the rope size being set fixed).

A potential solution could be to replace the DistanceJoint2D with a SpringJoint2D (or code a custom transition) to smoothen up the hard velocity break a bit, but may lead to different behaviour of the NinjaRope.

Here is an imgur album demonstrating the bug.

This leads to undefined behaviour bugs such as this:

NinjaRope gets stuck to the ground

@Pampattitude
Copy link
Owner Author

Partially fixed in 2955527, solution provided by @Lukas182.

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

No branches or pull requests

1 participant