adjust orbit speed
This commit is contained in:
parent
82fd27a0a0
commit
99ee0a8cde
|
@ -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