fix
This commit is contained in:
1 parent
13af968a04
commit
bdce619e68
1 file changed
+1
-1
+1
-1
@@ -771,7 +771,7 @@ namespace ZL
|
||||
if (stoneCollided) {
|
||||
Vector3f localForward = { 0,0,-1 };
|
||||
Vector3f worldForward = (Environment::shipMatrix * localForward).normalized();
|
||||
const float backDistance = 400.0f;
|
||||
const float backDistance = 50.0f;
|
||||
Environment::shipPosition = Environment::shipPosition - worldForward * backDistance;
|
||||
|
||||
shipAlive = false;
|
||||
|
||||
Reference in new issue
Block a user