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

Disabling the attractors at will. #9

Open
xfstef opened this issue Apr 26, 2018 · 1 comment
Open

Disabling the attractors at will. #9

xfstef opened this issue Apr 26, 2018 · 1 comment

Comments

@xfstef
Copy link

xfstef commented Apr 26, 2018

Hey so I'm working on creating body orbits which pull certain other bodies towards them.
I've managed to create the code that allows some bodies to only exert forces on certain other bodies but right now my orbits don't work properly as the forces are constantly being applied to the attracted ones even after they reach the desired orbit (range away) around the attractor.

Is there a built-in sleep switch for matter-attractors? If not can you maybe point me in the right direction where I could implement such a feature myself within your project? This would really come in handy as the device that I'm coding this for doesn't have a lot of processing power (it's a table top AR projector) and I want to make the app take up the least amount of CPU time possible.

Thanks!

@rvanderspuy
Copy link

I would also like to know if this is possible.

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