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

How can I use BodyMovers to create a hover vehicle?

Asked by 5 years ago

I've currently got a vehicle that can hover through space, and works by having a body mover move the Parent part forward by a few studs etc, but I would like to have a terrain where a vehicle can hover 2 studs above the terrain but of course have a bounce effect so it looks more natural which occurs automatically with the body movers. But where would I start to detect the distance between the Body Mover part and the terrain below? In order to maintain that 2 studs hover? Would I need to keep firing a ray below to detect how far the hit is and move the body mover part accordingly?

0
use bodyvelocity or bodyposition LoganboyInCO 150 — 5y
0
Use BodyPosition, and set it to always be a certain amount of studs above the ground. User#25115 0 — 5y
0
Yes but what if the elevation of the ground changes? Marmalados 193 — 5y

1 answer

Log in to vote
-2
Answered by 5 years ago

Set the BodyPosition to a repeated fluctuation in Y positions (vertically aligned on coordinate grid axis dimension) Ask for further guidance on the matter.

Ad

Answer this question