Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I make a script that would allow the player to walk on a wall?

Asked by 7 years ago

I've already looked all over the Wikki, and Forum posts. I have even stretched so far as to look at the code in free models but I still can't figure out how you actually make a player walk on a wall. I'm not looking for a script that will do it for me, I just want to know in a sense where I should look and what I should do to make this possible.

0
The default physics of ROBLOX characters is axis-biased - they only work properly for walking on the ground, so simply rotating the player and pushing them towards a wall isn't enough. You'll probably have to implement your own movement controllers and physics. Have a look at BodyMovers and UserInputService to get started. duckwit 1404 — 7y
0
Depending on the fidelity of movement that you want to achieve, this could be a very complicated task. I've been working on something similar for a bit and recreating the default physics of characters in a way that lets them function properly when aligned to an arbitrary gravitational pull is very difficult. duckwit 1404 — 7y
0
I figured that it was going to be a rather difficult task, as there doesn't seem to be many places that actually contain it in a working state Sarenheart00 16 — 7y

Answer this question