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

Orbital: support multiple static bodies #31

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Conversation

paulcadman
Copy link
Collaborator

@paulcadman paulcadman commented Sep 17, 2024

This PR is the result of our work in our twitch stream on 2024-09-17:

We added a new function members to ECS that returns an array of all components with a particular type. We use in orbital to compute the velocity change contributions for orbiting bodies from all static bodies.

orbital_2024-09-17.mov

@paulcadman paulcadman merged commit ef1c45f into main Sep 17, 2024
2 checks passed
@paulcadman paulcadman deleted the orbital-mulitple-static branch September 17, 2024 11:33
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

Successfully merging this pull request may close these issues.

1 participant