I have a combat system and it has a knockback but i don’t know how to make it stick to the wall and detecting a wall and should i use touch function on it?
1 Like
You can use .Touched
or you can Raycast backwards to detect a wall. Then just stop the player’s velocity and create effects.
I suggest raycasting because it is easy to get the surface normal, material, hit position etc.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.