How to make the HumanoidRootPart don't feel like anchored?

Hey Guys,

I’m trying to create custom character movement scripts. But I can’t figure out why the following is happening. (See the video) This is happenings without any scripts.

The HumanoidRootPart is not rotating on slope terrain. So it feels like anchored, but it is not. Can someone please help me find a solution?

Honestly I don’t recommend morphing roblox’s default character into a vehicle. Either use actual vehicle physics and make the character drive it or create a custom character.

2 Likes

I agree that a vehicle may be the way to go.

If not: You could try to raycast downwards and then the raycast result will contain a normal vector aka “up” from the terrain. You could try an alingorientation constraint using that vector. Maybe along a primary axis using the normalvector, so that it does not prevent the character from turning sideways. I wonder how the Roblox built in scripts will react to that.

But honestly that is only an idea, have never tried it.

I did try attaching something to a player character once, and the whole thing just flew off in the distance. So it’s kind of sensitive and unforgiving. (It==Roblox)

I love the idea though. I can imagine being a beetle and being able to climb a tree in Roblox. :smiley:

1 Like

Hi! Thanks for your reply!

I do not morph the player into a vehicle. I made custom characters. But I don’t know how to make it rotate on slope terrain. But I appreciate your help :slight_smile:

Thank you. I will try that! :smiley:
Thanks for your help

Humanoids force their characters to be upright since the player’s character should never be able to turn over like that, unless the Humanoid has given control to the physics system when it has been knocked over or has died.

aka don’t use characters/humanoids for this.

2 Likes

Thanks for your reply. What can I use instead of a humanoid?

There are plenty of ways and tutorials on how to make a vehicle.

Humanoids are meant for characters, not for vehicles.