fix marble teleporterr teleporting in wrong direction and fix finish animation while gyro

This commit is contained in:
RandomityGuy 2022-12-21 17:30:33 +05:30
parent 4b65191776
commit a11ab7a4eb

View file

@ -293,7 +293,7 @@ class Marble extends GameObject {
A = gWorkGravityDir.multiply(this._gravity);
if (this.mode == Finish)
A = this.velocity.multiply(-16);
if (currentTime - this.helicopterEnableTime < 5) {
if (currentTime - this.helicopterEnableTime < 5 && this.mode != Finish) {
A = A.multiply(0.25);
}
for (obj in level.forceObjects) {