Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What do I need to use for vehicle scripts? Objects or CFraming?

Okay, here it is. I want to make vehicle scripts. Land vehicles(Cars, busses, metros etc.), sea vehicles(Boats, ships, submarines etc.) and air vehicles(Planes, helicopters etc.). For example, what do I need to use to make a car script? I am not talking about basic Roblox Vehicle Seat+Part+Four Wheels, I am talking about nice scripted vehicles like in Defaultio's games. Do I need to use CFrame mostly, or is there any objects that I can use?

5 comments

0

Some of the nicest game's cars still use hinges you know. Try something with changed event on vehicle seat and if the property changed is the controller or whatever, intiate driving mode. As for steering and stuff, I've got no clue, which is why this is a comment.

0

Thanks for advice, but hinges are buggy and will be more buggy on the place I use them. That's why I want to make my own car script.

0

I'm not into making vehicles, but have you heard of the new constraints they added and the stuff people have been making with them? Roblox can calculate physics and stuff much faster because they have access to different programming languages. You should still use scripts, just not rely on them so heavily. Just my opinion.

0

Thanks for information. I will check it.

0

and stuff

1 answer

Try using CFrame, its the most efficient, if you want advanced mechanics as you are saying. You should dissect a popular car and see what they use, such as the ones from Apocalypse Rising.

3 comments

1

Okay and thanks, but also I do not know how can I use CFraming or for what can I use CFraming on a vehicle. Can you explain how can I use it?

0

I actually think using CFrame on vehicles is a bad idea.

1

Quite Bad idea. I'd use BodyVelocity instead.

This discussion is preserved as it was. New answers, comments, and votes are closed.