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

What BodyObject should I use?

Asked by
alibix123 175
10 years ago

I want make a ship that will move forward in the direction its facing. Do I use BodyVelocity, BodyForce or BodyThrust for this?

1 answer

Log in to vote
0
Answered by 10 years ago

Whichever one you want. I like body velocity

part = script.Parent.Part
bv = script.Parent.BodyVelocity

dir= part.CFrame.lookVector

bv.velocity = dir

I like body velocity because it is very smooth and easy to manipulate if you know how to work Vector3 directions.

Ad

Answer this question