How to add knockback to a player and when releasing the joystick not stopping knockback force

So I know how to add a knockback to the player the thing is that the player movement script stops the player when I release the joystick and that’s alright but when I give the knockback I want the player to be able to move so they can manipulate the direction a little bit. So right now when I give knockback to the player when they release the trigger they stop all knockback forces what the script is supposed to do is stopping all the forces that the player controller is giving to the player but the knockback.

127130-this-not.gif

So the answer was doing kinematic rigidbody with his own “collision system” ( I know it is not a collision system) by applying normals and storing them in different Vectors for example movement_velocity, gravity_velocity, external_forces_velocity. This is the code