Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I use pathfinding, cframe or bodyposition to move a car automatically?

Asked by
s_iara 94
4 years ago

So I made a recent post yesterday about how to move a car. I also went on discord to get some more opinions on what to do. I got: pathfinding, cframe and bodyposition. My questions are: how would I use any of these. Which of those are more efficient to use? Which would help me more and which is easier to use? Where would I find somewhere to be taught these. I have a map in my game which has a road. I want automatic cars driving past and NPCs walking along the road. I already have the NPCs settled. But I don't know what to do with the car. Something as simple as link or a "lesson" is really appreciated.

0
^^ Thanks for the link! I've already watched the video, they're teaching about al pathfinding with an npc, not a car. It doesn't have the same effect.   s_iara 94 — 4y
0
use tweening or lerping (I forget which one it is because I don't use either). Basically all you do is create a path for the car to follow using multiple parts and then move the car there slowly (with lerping or tweening) until the car reaches the last part. cmgtotalyawesome 1418 — 4y
0
@cmgtotalyawesome Thank you for telling me, i'll will try it out. s_iara 94 — 4y

Answer this question