I’ve been making a custom char controller, using a capsule object. I want to know how to keep the capsule upright while moving, without it falling down at all.
For keeping an object upright I would use a bodygyro
1 Like
You can just do this:
local object = script.Parent -- Change this to the object you want to stay upright
game:GetService('RunService').Stepped:Connect(function()
object.Orientation = object.Orientation * Vector3.new(0, 1, 0)
end)
I hope this helps!
2 Likes