Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

How do I make a car follow a path?

Asked by 2 years ago

Ok so I have a script that makes a car move but it goes too fast so is there a way to reduce the speed and also is it possible to make a car follow a path so it can go in circles.

Here's the script:

for i = 0, -100, -.1 do

script.Parent:TranslateBy(Vector3.new(i,0,0))
wait()

end

0
yeah in the wait() put wait(1) or something User#19524 170 — 2y
0
If it's only gonna move in circles, you could also try setting some parts as invisible, and make your car move() to those parts in a sequential order. Make sure your car has a humanoid inside of it to use move(). Also since you have humanoid, you can easily set the "walk speed" of your car. lesliesoon 86 — 2y
0
Use the PathfindingService. DeceptiveCaster 2796 — 2y
0
Good suggestion but I don't want a driver, I want the car to go in circles (in laps) and then when the car comes back, the user has to jump onto the car. theshadowking45 0 — 2y
0
Also where is the PathfindingService? theshadowking45 0 — 2y

Answer this question