I’m new to the system so I don’t really know how to do things. Thanks!
There’s a few ways you could do it (that i know of)
A: Use a force to make it go in a direction for a few seconds.
B: Disable the Platformer behavior and enable a physics behavior temporarily.
C: Overhaul the movement system and replace it with Physics2D entirely.
Try this out:
Theres one about making knockbacks on a platformer.
Enjoy