mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix marble teleporterr teleporting in wrong direction and fix finish animation while gyro
This commit is contained in:
parent
4b65191776
commit
a11ab7a4eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue