Kinda just the issue stated above. What im creating is a vehicle chassis, and whenever they enter the seat I disable the jumping state. This works fine, however whenever the character is on an incline/wedge of some sort, the character jumps right out of the seat. Ive even tried setting the jump power to 0 but nothing seems to solve this issue. If anyone can help me that would be great! Thank you.
Not sure I have any answers for you at the moment. Could you answer a few clarifying questions and maybe someone will be able to help?
- Sounds like you’re creating a vehicle system where a Player’s character is able to enter a vehicle by sitting in a “seat” - are you using a
Seat
orVehicleSeat
? - You mention disabling the jumping state. Are you using
Humanoid:SetStateEnabled()
and are you disabling theHumanoidStateType.Jumping
on the client or server? - Could you explain the scenario where “the character is on an incline/wedge of some sort, the character jumps right out” in a bit more detail? Does the character automatically exit the seat during these conditions? Or is the character only able to exit the seat under these conditions?
Correct. I am using a vehicle seat to sit the player, but my goal is to disable jumping so that I can use the spacebar key for drifting. I am disabling the state on the client. Should I be doing it on the server? And the character can ONLY exit the seat when on inclines. Other than that, setting the state to disabled works fine. I can try and provide a video if that would help!
try setting the jumppower/jumpheight to 0
i have already tried that and it didnt fix the issue