How do I make a object go up a block like a character

So you know how when a character is walking and when there is a ledge, if its not too tall the character can just climb over it?
For example:


I want the sleigh behind the player, to do the same thing when it approaches an object, but I have no clue on how to do this. Any suggestions?

2 Likes

I don’t suppose on using invisible wedges for the sleigh to be on, + there’s a align orientation on the object so it can’t flip, but it can’t rotate in the z axis so ramps wouldn’t work well.

1 Like

ok I figured it out, I just make the whole sleigh massless. However, its like a plastic bag flailing around, so I want to increase its grip on the ground so it can stick and won’t be flinged when I step on it.

1 Like

ok, update. Now im going to make a part which is welded to the bottom front of the sleigh which will detect if anything touches it. If there is something in front of there, then another part, welded to the top front of it, will see if the object is small or high enough. If it is small enough, or it doesn’t detect anything in the top front of the sleigh, then it will run a loop which will make the y position of the sleigh go up in 1/10 of a stud increments until the bottom front of the sleigh detects nothing in front of it, then the sleigh will be pushed a tiny bit forward so the sleigh wouldn’t fall back down from the ledge and it would keep teleporting up, then falling down, etc. Making the sleigh weightless was kind of annoying cus it was still the weight of nothing regardless, making the sleigh more grippy to solve it didn’t solve a lot of the issues, so im doing this instead.

2 Likes