How i can make a wallrun script?

Hello, i need help for this stuff. How i can make a wallrun script that makes player wallrun cameras direction and according to building s direction that player is will wallrun on.
Which force will be better? This is really important for me.Thanks for reading.

Please search before posting threads on the forums.
https://devforum.roblox.com/search?q=wall%20run

I have searched.But i couldnt find i want.

Are you talking about something like this?
https://gyazo.com/f514ca03212ca72762e6924fd050f3e1

Yes, this its good but i have a question.
It wallruns when it touched the special part?
I dont want like that.

It wall Runs with Raycasting not TouchedEvents

1 Like

What is ray origin? Please explain me.

its where the Ray Starts, lets say

Ray.new(Start.Position,Direction.Position)

At the code above, it shows that Start is our Origin

1 Like

I mean is ray origin head or camera or mouse?

And can you give me the script or can you explain how script works?