Custom Climbing System

Hello!

I’m making a custom character controller and right now I’m trying to make the climbing system. It uses truss parts and collision detection when you’re climbing. As i said, I’m making a custom character controller so none of the Roblox climbing scripts are active.

Issue: I don’t know how to keep the character stuck on the Y-axis whenever the character is not moving, because the gravity would make the character fall back down. I also want to still be able to move in the X-axis and rather not the Z-axis because it’s a 2D game. Because i want to be able to climb up a truss part, the character also needs to be able to move up and down obviously, while still not falling down by gravity. I’ve tried anchoring the HumanoidRootPart, but it’s really buggy and not a nice system. :frowning:

1 Like

Ok i kinda got it to work by adding a vector force to the HumanoidRootPart. Then i set the Force to Vector3.new(0, workspace.Gravity * HumanoidRootPart.AssemblyMass, 0)

This way the character floats when climbing, though it can still possibly move with more forces or other methods.

3 Likes