Is jumped should call is freefalling

This commit is contained in:
Valerie Young 2019-01-10 15:39:46 -05:00
parent f669b4bcb7
commit 92297444a0

View file

@ -617,12 +617,7 @@ class Scratch3GdxForBlocks {
} }
} }
whenJumped () { whenJumped () {
const currentVal = this.magnitude( return this.isFreeFalling;
this._peripheral.getAccelerationX(),
this._peripheral.getAccelerationY(),
this._peripheral.getAccelerationZ()
);
return currentVal < .5;
} }
whenSpinSpeedCompare (args) { whenSpinSpeedCompare (args) {
const currentVal = this.magnitude( const currentVal = this.magnitude(