How do i make an decent player WalkTo() system

Im working on a 2 player obby (very original) in which an player is driver and the other is the car, however I’m having an issue on how to make the script which the driver player controls the car player. I tried to make it so it follow the front face of an part that’s already in front of the player but it feels janky and unnatural, any ideas on how I could improve it or any ideas on how could I make it better?

how did you script the movement? did you use runservice?

The script constantly changes the CFrame of the part in front of the player and the car player constantly follow the LookVector of sayd CFrame, while the driver player manages the rotation of the part , it uses wait(0.1)

You can lerp humanoid:Move() which creates a smooth effect.

2 Likes

thanks for the suggestion, its really helpful but at my current state of knowledge I cant really add that system. Thanks for the suggestion!

1 Like

No worries learning takes time.

Here is another resource that I remembered.

Humanoids have a lot of odd tricky behavior that is only found out through in engine testing and experimentation. But they do the job for now.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.