Added basic player movement

This commit is contained in:
Pasha Bibko
2025-11-18 10:22:28 +00:00
parent 22c0eb0ef5
commit 177f7158c1
7 changed files with 199 additions and 34 deletions

View File

@@ -8,4 +8,12 @@ public class PlayerController : OrbitalPositionBehaviour
{
m_OrbitalPosition.DistanceFromCentre = 10;
}
public void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
m_OrbitalPosition.DistanceFromCentre += 1;
}
}
}