I am creating an IK foot system, but I need the foot to snap to the ground, like smoothly snap to the ground, like a cube or terrain, or whatever.
Could you post an example of a code, where some object snaps to another slowly, like not instantly appearing from one place to another, that would be very useful.