Hey, you guy’s know the script that @EgoMoose made. Character controller.
I need help.
I was wondering how you make it so it can go to one part. not the whole world
so you can like wall climb and wall run.
EGOMOOSE CHARACTER CONTROLLER SCRIPT
Hey, you guy’s know the script that @EgoMoose made. Character controller.
I need help.
I was wondering how you make it so it can go to one part. not the whole world
so you can like wall climb and wall run.
EGOMOOSE CHARACTER CONTROLLER SCRIPT
Please elaborate, it’s hard to understand what you mean.
like you can run up a wall with the script
you already can do that with ego’s script…?
No like where you can put the script into a part and the script only works on that part not the whole world
There are a couple of methods. The first one being, use raycasting to detect the parts you are seeking and apply a force that opposes gravity and a second force for your intended direction (can be added to the first one, but that requires more math than just using a second) . Note that you would need to orient the player towards the part; i.e., their top vector would need to be inline with the plane of the part you are considering.
I just want you to consider that many people on Roblox make countless libraries and such from scratch - EgoMoose is a good example. I encourage you to explore, search, and work for the game you want to develop, as it seems like you haven’t really put much effort into making your wall-walking module.
It’s good to ask for help, but going through the process while you struggle can help solidify your experience and your overall skill. Just a personal thought I wanted to share.
Hopefully the math framework I’ve given here is of some use.
I have no idea to script. So i’m going to try atleast