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

Plane Engines? I got the heading working.

Asked by 10 years ago

So, BodyVelocity uses the "Global" Axis. I want something like a "Local" Axis version of BodyVelocity. Is it BodyThrust?

2 answers

Log in to vote
2
Answered by 10 years ago

Just use BodyVelocity, and to figure out what direction the plane is facing, use:

plane.Body.CFrame.unit (Vector3)

It represents the direction the part is facing on global axis.

0
is plane.body a part? 31337n00b 0 — 10y
0
Yeah, showing that as example. Essentially it should be the main part of plane. ZarsBranchkin 885 — 10y
0
So... If my Plane Banks, Will It turn? (I'm using a Lockheed TriStar model) 31337n00b 0 — 10y
0
Yes, just do bodyVelocity.velocity = plane.MainPart.lookVector * speed ZarsBranchkin 885 — 10y
0
So I finished the Lockheed TriStar. If you can help me to make the way to make a heading like crazyman32's thing? 31337n00b 0 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

OK. so I got banned for saying L1011s are too awesome. Now can somebody continue telling me what to do?

Answer this question