22 lines
793 B
Plaintext
22 lines
793 B
Plaintext
|
[gd_scene load_steps=3 format=2]
|
||
|
|
||
|
[ext_resource path="res://scripts/orbits/OrbitSystem.cs" type="Script" id=1]
|
||
|
[ext_resource path="res://scenes/orbits/Planet.tscn" type="PackedScene" id=2]
|
||
|
|
||
|
[node name="Orbit System" type="Spatial"]
|
||
|
script = ExtResource( 1 )
|
||
|
SemiMajorAxis = 5.994
|
||
|
Eccentricity = 0.518
|
||
|
_a = NodePath("Planet A")
|
||
|
_b = NodePath("Planet B")
|
||
|
_barycenter = NodePath("Barycenter")
|
||
|
|
||
|
[node name="Barycenter" type="Spatial" parent="."]
|
||
|
|
||
|
[node name="Planet A" parent="." instance=ExtResource( 2 )]
|
||
|
transform = Transform( 0.999977, 0.00603502, 0.00319089, -0.00604282, 0.999979, 0.0024369, -0.00317609, -0.00245615, 0.999992, 0, 0, 0 )
|
||
|
|
||
|
[node name="Planet B" parent="." instance=ExtResource( 2 )]
|
||
|
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -6.57314, 0, 4.18169 )
|
||
|
Mass = 0.125
|