mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Is jumped should call is freefalling
This commit is contained in:
parent
f669b4bcb7
commit
92297444a0
1 changed files with 1 additions and 6 deletions
|
@ -617,12 +617,7 @@ class Scratch3GdxForBlocks {
|
|||
}
|
||||
}
|
||||
whenJumped () {
|
||||
const currentVal = this.magnitude(
|
||||
this._peripheral.getAccelerationX(),
|
||||
this._peripheral.getAccelerationY(),
|
||||
this._peripheral.getAccelerationZ()
|
||||
);
|
||||
return currentVal < .5;
|
||||
return this.isFreeFalling;
|
||||
}
|
||||
whenSpinSpeedCompare (args) {
|
||||
const currentVal = this.magnitude(
|
||||
|
|
Loading…
Reference in a new issue