- Home /
Rigidy body 3d wall jump
I am making a 3d fps and was wondering how to make wall jump using rigidybody controller I dont want wallrunning just jumping
You could try adding a counter-force in the direction your player collides with the wall. There's a good tutorial on doing wall jumps by firing two raycasts at the player's sides and getting the normals of the raycasts' collisions and applying a force in that direction.
Basically, if the player collides with a wall on his left side (left raycast) add a force on his transform.right. vice versa. This should get the result youre looking for.
So glad you didnt ask for wall running bcz I have no idea where to start for that! @Rafayboss01
Your answer
Follow this Question
Related Questions
RigidBody.MovePosition seems jerky in movement 0 Answers
Distribute terrain in zones 3 Answers
Don't allow the player to shoot while projectile is travelling 1 Answer
Multiple Cars not working 1 Answer
Bullet doesn't go forward 3 Answers