All Projects β†’ Karth42 β†’ SimpleKeplerOrbits

Karth42 / SimpleKeplerOrbits

Licence: MIT license
Unity3d static 2-body orbits simulation

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to SimpleKeplerOrbits

keeptrack.space
πŸŒŽπŸ“‘ TypeScript Astrodynamics Software for Non-Engineers. 3D Visualization of satellite data and the sensors that track them.
Stars: ✭ 61 (-19.74%)
Mutual labels:  space, orbit
Realistic-Atmosphere-Godot-and-UE4
A realistic atmosphere material for both the Godot game engine and Unreal Engine 4
Stars: ✭ 119 (+56.58%)
Mutual labels:  space, space-game
pyspedas
Python-based Space Physics Environment Data Analysis Software
Stars: ✭ 90 (+18.42%)
Mutual labels:  space, space-physics
open-space-toolkit-astrodynamics
Flight profile, orbit, attitude, access.
Stars: ✭ 16 (-78.95%)
Mutual labels:  space, orbit
Orekit
OREKIT is a free low level space dynamics library written in Java. Please visit our Gitlab instance for issues and contributions: https://gitlab.orekit.org
Stars: ✭ 110 (+44.74%)
Mutual labels:  space, orbital-mechanics
new-ospgl
A space exploration game in OpenGL. Devblog: https://tatjam.github.io/index.html
Stars: ✭ 17 (-77.63%)
Mutual labels:  space, space-game
VRQuestionnaireToolkit
πŸŽ“ ---- VRQuestionnaireToolkit ---- πŸŽ“Enables the community to easily collect subjective measures in virtual environments.
Stars: ✭ 86 (+13.16%)
Mutual labels:  unity3d-plugin
odb-arktrail
Artemis-ODB + LibGDX game
Stars: ✭ 16 (-78.95%)
Mutual labels:  space-game
UBind
UBind is a value binding component for Unity, which is used to quickly realize the association binding between UI and logical data.
Stars: ✭ 57 (-25%)
Mutual labels:  unity3d-plugin
TinyECS
Tiny ECS is an easy to use Entity-Component-System framework that's designed specially for Unity3D.
Stars: ✭ 20 (-73.68%)
Mutual labels:  unity3d-plugin
CSharpCompilerSettingsForUnity
Change the C# compiler (csc) used on your Unity project, as you like!
Stars: ✭ 208 (+173.68%)
Mutual labels:  unity3d-plugin
FPSCounter
FPS counter plugin for BepInEx - measure frame time and plugin performance
Stars: ✭ 27 (-64.47%)
Mutual labels:  unity3d-plugin
Geforce-Kepler-patcher
Install Nvidia binaries files on Snapshot disk for macOS Monterey 12
Stars: ✭ 285 (+275%)
Mutual labels:  kepler
8 bit hubble
Generate random pixel art galaxies! In honor of Hubble Space Telescope, SNES videogames and Bob Ross
Stars: ✭ 59 (-22.37%)
Mutual labels:  space
kepler
Consuming NASA API to visualize exoplanets data in a Flutter app
Stars: ✭ 33 (-56.58%)
Mutual labels:  kepler
karaoke
Karaoke is a neat plugin to parse and display karaoke subtitle files such as SSA/ASS inside Unity
Stars: ✭ 19 (-75%)
Mutual labels:  unity3d-plugin
astrobook
The Astrobook source files
Stars: ✭ 32 (-57.89%)
Mutual labels:  orbital-mechanics
TerraGov-Marine-Corps
TGMC: TerraGov Marine Corps, a SS13 mod
Stars: ✭ 109 (+43.42%)
Mutual labels:  space
MultiGame
MultiGame is a tool for rapid development in Unity
Stars: ✭ 16 (-78.95%)
Mutual labels:  unity3d-plugin
SafeValues
A simple Unity library for cheating prevention
Stars: ✭ 75 (-1.32%)
Mutual labels:  unity3d-plugin

SimpleKeplerOrbits

gif

Description

Unity3d project for simulating simple orbits using 2-body solution model.

Importing

This repository contains the entire Unity Project for basic demo setup. There are several ways to import the project:

  • Manually copy all files from Asset directory to your unity project directory;
  • Import asset store package;
  • Import of the 'src' branch as embedded package.

Usage

This plugin has the ability to customize orbits using the editor inspector and scripts. Some scripting usage examples:

Initializing orbit from orbit elements (JPL database supported)

	var body = GetComponent<KeplerOrbitMover>();
	body.AttractorSettings.AttractorObject = attractorTransform;
	body.AttractorSettings.AttractorMass = attractorMass;
	body.AttractorSettings.GravityConstant = GConstant;
	body.OrbitData = new KeplerOrbitData(
		eccentricity: eValue,
		semiMajorAxis: aValue,
		meanAnomalyDeg: mValue,
		inclinationDeg: inValue,
		argOfPerifocus: wValue,
		ascendingNodeDeg: omValue,
		attractorMass: attractorMass,
		gConst: GConstant);
	body.ForceUpdateViewFromInternalState();

Initializing orbit from orbit vectors

	var body = GetComponent<KeplerOrbitMover>();
	body.AttractorSettings.AttractorObject = attractorTransform;
	body.AttractorSettings.AttractorMass = attractorMass;
	body.AttractorSettings.GravityConstant = GConstant;
	body.OrbitData = new KeplerOrbitData(
		position: bodyPosition, 
		velocity: bodyVelocity, 
		attractorMass: attractorMass, 
		gConst: GConstant);
	body.ForceUpdateViewFromInternalState();

For more detailed scripting snippets go to the included manual.

Contributing

This repository is closed for contributions.

Published version

Unity Asset Store

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].