Suppose I have a block (RigidBody2d) traveling on a flat surface at a constant velocity to the right. The block jumps when the player presses the jump key, and the rigidbody has a force added onto it so that it jumps. What is the best way to change the amount of time that the block spends in the air moving up and “floating” down. E.G. it currently moves 20 units to the right when I press jump before landing, but now I want it to only move 10 units to the right. Additionally, the speed of the block and the jump height of the block should stay the same. The only thing changing is the distance traveled in the air.
Can this be done with the Unity2D physics engine?