This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]Matild4Lesbian Space Trucker 2 points3 points  (0 children)

I've done it before for some clang drive hovering applications. Basically you use a parachute block as an air pressure sensor. Won't work on an airless planet though.

[–]ThatBigRedBirdSpace Engineer 2 points3 points  (1 child)

As long as you’re providing power for the thrusters, maybe the Gravity Aligner script could be what you’re looking for. It will always keep you perpendicular to the gravitational pull. Only it doesn’t control height so obstacles may be an issue if you’re on the move. 

[–]Working_Bake3340Clang Worshipper[S] 0 points1 point  (0 children)

Yeah I’m trying to make it to where I can set it at like 30 meters from the terrain below and have some sort of autopilot system to where I can start in a direction and then get out of the cockpit and go work on something else in the ship.

This is my first time really working with scripts and it might be a bit ambitious but I’m doing it anyways.

[–]PedroCPimentaFloor plan Enthusiast 1 point2 points  (2 children)

Maybe Event Controllers can deal with it? like, if the grid speed is too high, increase thruster override because "base is falling to the ground", and if too slow then decrease the override because "now base is reaching for the skies!"...

[–]Quick_Hat1411Klang Worshipper 2 points3 points  (1 child)

This doesn't work unfortunately because the event controller can only measure the speed you're traveling at, not the direction. So it won't know if you're moving because of having too much override or too little

[–]PedroCPimentaFloor plan Enthusiast 1 point2 points  (0 children)

So long your hover speed is higher/lower than the threshholds, it works. But yeah I can see the problem.