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

Closed system, without losing velocity #316

Closed
kujma10-zz opened this issue Nov 12, 2016 · 2 comments
Closed

Closed system, without losing velocity #316

kujma10-zz opened this issue Nov 12, 2016 · 2 comments

Comments

@kujma10-zz
Copy link

kujma10-zz commented Nov 12, 2016

I'm creating the same system as it is described here, however I need to have many objects (balls) instead of one. At first they move and hit each other (I want this to continued forever), but then they are getting slow and are losing the force. inertia: Infinity is helpful but there is still something that make balls to lose velocity.

Do you have any suggestions how to make this kind of world 'ideal' ?
Thank you.

@liabru
Copy link
Owner

liabru commented Nov 14, 2016

See #256 which discusses the same problem and leave a comment with a jsfiddle example if you can. This will help me when I investigate. For now make sure that body.friction and body.frictionAir are both set to 0 and see if it helps. Thanks!

@kujma10-zz
Copy link
Author

Left a comment there with jsfiddle example, thanks.

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

2 participants