adjust orbit speed

This commit is contained in:
Cat Flynn 2022-09-05 20:13:03 +01:00
parent 46295a8e96
commit 322952197f
2 changed files with 5 additions and 1 deletions

View File

@ -14,3 +14,4 @@ transform = Transform( 0.515898, 0.606099, -0.605386, -0.393123, 0.795389, 0.461
transform = Transform( 0.856869, 0.3292, -0.396741, 0.0949996, 0.655565, 0.749139, 0.506706, -0.679604, 0.53046, -0.599122, 0, 0 )
SemiMajorAxis = 6.166
Eccentricity = 0.239
_speed = 0.877

View File

@ -134,9 +134,12 @@ public class OrbitSystem : Node, IMassive, ILocation
private float _time = 0;
[Export]
private float _speed = 3f;
public override void _Process(float delta)
{
_time += delta * 3f;
_time += delta * _speed;
InvalidateGeometry();
}