Steamをインストール
ログイン
|
言語
简体中文(簡体字中国語)
繁體中文(繁体字中国語)
한국어 (韓国語)
ไทย (タイ語)
български (ブルガリア語)
Čeština(チェコ語)
Dansk (デンマーク語)
Deutsch (ドイツ語)
English (英語)
Español - España (スペイン語 - スペイン)
Español - Latinoamérica (スペイン語 - ラテンアメリカ)
Ελληνικά (ギリシャ語)
Français (フランス語)
Italiano (イタリア語)
Bahasa Indonesia(インドネシア語)
Magyar(ハンガリー語)
Nederlands (オランダ語)
Norsk (ノルウェー語)
Polski (ポーランド語)
Português(ポルトガル語-ポルトガル)
Português - Brasil (ポルトガル語 - ブラジル)
Română(ルーマニア語)
Русский (ロシア語)
Suomi (フィンランド語)
Svenska (スウェーデン語)
Türkçe (トルコ語)
Tiếng Việt (ベトナム語)
Українська (ウクライナ語)
翻訳の問題を報告
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.