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

Getting issue when two objects at the same place #155

Open
RocketRoad opened this issue Dec 26, 2018 · 5 comments
Open

Getting issue when two objects at the same place #155

RocketRoad opened this issue Dec 26, 2018 · 5 comments

Comments

@RocketRoad
Copy link

RocketRoad commented Dec 26, 2018

I'm building a system that really needs to put two object at the same place. They are not colliding, in fact the first doesn't even have a shape. How to resolve a problem?

@RocketRoad
Copy link
Author

Ok. I figured out that it was due to spring with rest length 0

@viblo
Copy link
Owner

viblo commented Dec 27, 2018

Ok, great. Then Ill close this one.

@viblo viblo closed this as completed Dec 27, 2018
@RocketRoad
Copy link
Author

But how to solve the issue
I mean I can place object at different places but what if their position become same again. I kind of understand why that happens, like spring doesn't have direction to pull or push. But what can I do about
Just hope that probability of their position being same equals to zero?

@viblo
Copy link
Owner

viblo commented Dec 27, 2018

Ah, sorry. Let me reopen this again. I dont have a quick answer right now.

@viblo viblo reopened this Dec 27, 2018
@RocketRoad
Copy link
Author

I don't need the answer anymore. Just avoided using such constraint. But probably adding checking for such low probability is probably useless and can significantly affect the speed of execution

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

2 participants