mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix rewind + blast wave
This commit is contained in:
parent
a3bfa9afd9
commit
1e4550527e
1 changed files with 4 additions and 0 deletions
|
|
@ -1829,6 +1829,10 @@ class Marble extends GameObject {
|
|||
this.helicopter.setPosition(1e8, 1e8, 1e8);
|
||||
this.helicopterSound.pause = true;
|
||||
}
|
||||
if (this.blastUseTime > currentTime) {
|
||||
this.blastUseTime = Math.POSITIVE_INFINITY;
|
||||
this.blastWave.doSequenceOnceBeginTime = 0;
|
||||
}
|
||||
if (currentTime - this.blastUseTime < this.blastWave.dts.sequences[0].duration) {
|
||||
this.blastWave.setPosition(x, y, z);
|
||||
this.blastWave.setRotationQuat(this.level.getOrientationQuat(this.level.timeState.currentAttemptTime));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue