pub(crate) fn jump_if_able(&mut self) {
        if self.is_on_ground() {
            self.body.velocity += Vector3 {
                x: 0.,
                y: JUMP_SPEED,
                z: 0.,
            };
        }
    }
// TODO: this code's location is driven by colliding_cubes being here, which is probably wrong
// If nothing else, the jump height probably belongs elsewhere.
// Figure out what the correct overall thing is and make it public
this code's location is driven by colliding_cubes being here, which is probably wrong
If nothing else, the jump height probably belongs elsewhere.
Figure out what the correct overall thing is and make it public
this code ' s location is driven by colliding_cubes being here which is probably wrong If nothing else the jump height probably belongs elsewhere . Figure out what the correct overall thing is and make it public
pub(crate) fn jump_if_able(&mut self) {
        if self.is_on_ground() {
            self.body.velocity += Vector3 {
                x: 0.,
                y: JUMP_SPEED,
                z: 0.,
            };
        }
    }
pub ( crate ) fn jump_if_able ( & mut self ) { if self . is_on_ground ( ) { self . body . velocity += Vector3 { x : 0. , y : JUMP_SPEED , z : 0. , } ; } }
TODO: this code's location is driven by colliding_cubes being here, which is probably wrong
If nothing else, the jump height probably belongs elsewhere.
TODO : this code ' s location is driven by colliding_cubes being here which is probably wrong If nothing else the jump height probably belongs elsewhere .
&mut self