In my game, players press a button and spawn in a vehicle somewhere around the map. I’ve realized that if the vehicle seat is beyond a certain distance, :sit() does not put the character on the seat, but rather makes them sit on the floor. Has anyone else experienced this? If so what are some ways to fix it?
Are you using FilteringEnabled? I’m not sure, but this could possibly be problematic if the seat isn’t loaded on the client when the function is called.
Do you need to capitalize the “s” in sit?
This shouldn’t make a difference. Capitalization is normally preferred, but doesn’t affect the performance in this instance.
Could you send a snip-it of the code?
Well if distance is the problem you can technically teleport the
player’s HumanoidRootPart to a little bit above the car’s Position, and then sit the player lol.
-This of course is probably a little more work than what you are looking for. Send a copy of the code, and I may be able to help you out for a more viable solution.