Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
For anyone interested (yes i know its pretty bad):
((((x/-1)--.5)*(360))/(.5--.5))+0
slap this in a function, making x=compass sensor output. make sure that the blue arrow on the sensor faces north when the ship is spawned in!
But it is probably easier to look at this example if you only care about the compass logic:
https://steamcommunity.com/sharedfiles/filedetails/?id=1416319354
((x/-1)+0.5)*360
I modified it so that when you place down the compass facing to the rear of you vehicle 0° Is north
I didn't really modify it xD I just took out the unnessecary parts
(.5-x)*360
worked...
Just make sure you have the heading sensor pointing north... if the base arrow is pointing east and you place it following the arrow, 0 will represent east.
If you are in the new career, it won't tell you which way you are pointing, by the map icons. So, you'll have to get your bearings visually, if you don't know which way the base is pointing. Hopefully, they will fix this problem, at some point.
There's no heading when placing a compass sensor, this will be always relative to the vehicle and further to the workbench you're spawning it in.
Placing the compass facing the same way the direction arrow in the workbench does should work, using your formula.