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

Add probe object with mass, velocity and direction vector? #67

Open
rev111 opened this issue Oct 16, 2022 · 1 comment
Open

Add probe object with mass, velocity and direction vector? #67

rev111 opened this issue Oct 16, 2022 · 1 comment

Comments

@rev111
Copy link

rev111 commented Oct 16, 2022

Hello,
I was wondering if it would be possible to add an object (for example, a probe) to the system that has a velocity and direction and is bound to gravitational influences?
For example: Insert a probe in an earth object, accelerate towards the moon, slingshot around the moon and return back to earth?

If there are no space physics currently available in the simulation, would it be possible to attach my own calculations how that object should move and update the simulation accordingly?

Thanks for any help on this matter!

@typpo
Copy link
Owner

typpo commented Oct 18, 2022

Hi @rev111, the engine currently handles Kepler orbits and Ephemeris tables. In other words, you'd have to attach your own calculations that describe the probe's movement. Here's some example code which produces this visualization.

Here is the documentation for EphemerisTable. In summary, you'd provide date + position and velocity vectors.

Hope this helps!

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