Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
Odometre: Continuously add the velocity, could be in a function block that adds to itself.
Well I got it working. I changed absolutely nothing for acceleration except for the time interval between readings (delta t) to match 1/60th of a second, which made it work perfectly.
I still don't understand why adding velocity to itself and dividing by 60 works to get distance, but hey, it does, so I won't question it. I was trying to multiply speed times delta t and add it to itself every interval, which worked for larger intervals at constant speed, but for some reason lost accuracy over small intervals.