I am making a racing game which involves setting the players humanoidrootpart CFrame to the seat of the vehicle. the teleport works just fine however sometimes the player will not sit right away and the player has to move around a bit to sit down. this is annoying because the player is not supposed to be able to walk around at that time. is there a way to fix this?
3 Likes
Try teleporting the player slightly above the seat
I added about +1 stud and even tried +0.7 studs, still didnt fix the problem.
Maybe try manually welding the player to the seat, I don’t know if that’s even possible but, it’s worth a shot.
You can use the :Sit method on a VehicleSeat. It takes the character’s Humanoid.
1 Like
the page is a bit small on information can you explain how I can utilize this?
1 Like
VehicleSeat:Sit(Player.Character.Humanoid);
This will force Player (a variable of the Player you want to teleport) to sit on the seat. You shouldn’t have to teleport if you use this, as roblox will automatically weld the character to the seat.
5 Likes