Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Find Planet Center

$
0
0
Threw this together because I needed the planet center coordinates for something else I'm working on.

For it to work you need a remote control and text panel (and a programmable block, obviously).

Run the PB with the following arguments:
1) "sample" takes a gravity measurement at the current location (using the first remote control it finds)
2) "calc" calculates the center point using all the samples taken so far and writes GPS coordinates into the first text panel it finds
3) "reset"...

Find Planet Center

Viewing all articles
Browse latest Browse all 903

Trending Articles