I have a body velocity that shoots the player forward. However, if they are to do this while close to a wall, they’ll glitch out and go flying. Is there any real way to prevent this, or do I just have to hope the players aren’t stupid?
What I’d personally do is before the player starts flying you’ll want to initiate a raycast in the direction of where the force will go and calculate the distance from that raycast hit point (if it exists) with the position of the player at the start and then calculate how powerful you’ll need the body force to need to be.