adjust orbit speed
This commit is contained in:
parent
f31f484dc5
commit
74876f3e43
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue