+ if(grabbed) {
+ return;
+ }
+ if(hit.top || hit.bottom)
+ physic.set_velocity_y(0);
+ if(hit.left || hit.right)
+ physic.set_velocity_x(0);
+ if(hit.crush)
+ physic.set_velocity(0, 0);
+
+ if(hit.bottom && !on_ground && !grabbed) {
+ sound_manager->play(ROCK_SOUND, get_pos());
+ on_ground = true;