Hey all
what is the best way to let your character do a roll in any direction you want. I tried it with lerp over time, but with lerp i went through walls :(. and with launching the character it`s hard to get the desired distance aswell as he get to much force when he Rolls of ledges
are there more physic based funtion for this kind of problem ? basically i just want to let him go a certain distance and then negate all force he had beforā¦
I did it with the normal moving and exchanged the walk animation with a roll animation. Furthermore i add a āisRollingā bool so i can make him invulnerable
Hope that helped.
As said lerp will make the character go through walls and launch will only add force so it is pretty inconsistend