Log in to vote

How do I use the BodyObjects effectively?

Asked by
TomsGames 225 Moderation Voter
8 years ago

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?


Try to keep questions professional and avoid cursing. Unclear 1776 — 8y

1 answer

Log in to vote
Answered by
Merely 2122 Moderation Voter Community Moderator
8 years ago

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.


Answer this question