moveDownOnce method
Implementation
void moveDownOnce({double? speed}) {
_lastSpeed = speed ?? this.speed;
setVelocityAxis(y: _lastSpeed);
onApplyDisplacement(dtUpdate);
setVelocityAxis(y: 0);
}
void moveDownOnce({double? speed}) {
_lastSpeed = speed ?? this.speed;
setVelocityAxis(y: _lastSpeed);
onApplyDisplacement(dtUpdate);
setVelocityAxis(y: 0);
}