Hello! I have been making this wall climbing system, and I think I have a good idea on what to do however theres one problem. I use bodyposition to move the character and it works only on some angles. I want the bodyposition to move relative to the right of the character but I have no idea on how to accomplish this. I have tried messing around with positions and such but I could come to no conclusion.
Here are some videos I took of the problem.
https://gyazo.com/6986e9bba862e375ee9165d3fa4259e6
https://gyazo.com/994a7b40662bd0c43101666795fe2050
function leftclimb()
if plr.Character:FindFirstChild("Climbing").Value == true then
local bp = plr.Character:WaitForChild("HumanoidRootPart"):FindFirstChild('BodyPosition')
left = true
repeat
bp.Position = bp.Position - Vector3.new(0.4,0,0)
wait(0.05)
until plr.Character:FindFirstChild("Climbing").Value == false or left == false
end
end