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

How do I use the BodyObjects effectively?

Alright so I have a model car, which 'body' objects am I required to use to get the thing moving?

It needs to move forward constantly and swerve side to side as buttons are pushed accordingly, does that mean it needs an angularbodyvelocity thing?

Also do 'body' objects even work for whole models?

Thanks!

1 comment

0

Try to keep questions professional and avoid cursing.

1 answer

✓ Accepted answer

BodyAngularVelocity tries to make the object spin.

What you want is a BodyGyro to control the direction the car is facing, and a BodyVelocity or BodyForce to push the car in that direction.

The wiki does a good job of explaining each Body object and how to use it: BodyForce BodyVelocity BodyGyro

Body objects need to be placed inside a part in order for them to exert force. Placing them inside a model won't work.

The really old car tools use body objects for movement, so looking at the source of one of those may be a help.

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