boost
This commit is contained in:
1 parent
fddf8552c2
commit
0e8a7a65ad
2 files changed
+16
-6
No files matched your search
@@ -56,6 +56,9 @@ public class ShipControls : MonoBehaviour {
|
||||
// to minimise input lag we poll for the thrust vector every frame and set it
|
||||
// same with the camera, we always look around
|
||||
void Update() {
|
||||
// hot reloading fks up the input
|
||||
if (input == null) Start();
|
||||
|
||||
UpdateCamera();
|
||||
thrust = getThrust();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user