You are not logged in.

Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

1

Tuesday, January 22nd 2013, 1:43pm

Speed Problem :)

Hallo SoS,
Ich hab ein Speed Hud es geht auch richtig bloß hab ich ein kleines Problem.
Die Speed anzeige ist u/s ich möchte sie in km/h das geht bloß kenne ich den Code für km/h nicht.
Der von u/s ist so "RoundToFloor(SquareRoot(Pow(fVelocity[0],2.0)+Pow(fVelocity[1],2.0))));"

MadMakz

Super Moderator

Posts: 1,878

Location: ~#

wcf.user.option.userOption53: Ja

  • Send private message

2

Tuesday, January 22nd 2013, 2:13pm

This post has been edited 2 times, last edit by "MadMakz" (Jan 22nd 2013, 2:26pm)


Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

3

Tuesday, January 22nd 2013, 2:21pm

Da steht nur Units und Mph nichts von km/h

Impact

Super Moderator

Posts: 1,276

wcf.user.option.userOption53: Nein

  • Send private message

4

Tuesday, January 22nd 2013, 2:23pm

Dann rechne doch einfach Meilen zu Kilometer um?

MfG
Impact

MadMakz

Super Moderator

Posts: 1,878

Location: ~#

wcf.user.option.userOption53: Ja

  • Send private message

5

Tuesday, January 22nd 2013, 2:27pm

23,466666666666666666666666666665 u/s = 1 mph

1 mph = 1,609344 kmh... ergo... ;)

Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

6

Tuesday, January 22nd 2013, 2:28pm

Bin kein Rechen Profi hahah :D

EDIT:
Muss ich das dann so machen?
"RoundToFloor(SquareRoot(Pow(fVelocity[1],6.1)+Pow(fVelocity[1],6.1))));"

This post has been edited 1 times, last edit by "fluxX" (Jan 22nd 2013, 6:22pm)


Jackmaster

Super Moderator

Posts: 660

wcf.user.option.userOption53: Ja

  • Send private message

7

Tuesday, January 22nd 2013, 5:05pm

Wieso probierst du das nicht aus?
Und nutz bitte den Highlighter.


gruß

Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

8

Tuesday, January 22nd 2013, 7:10pm

Geht alles nicht immer bleibt es dann bei 15km/h -.-
EDIT:
Hab es fast mit alles versucht uff..

This post has been edited 1 times, last edit by "Toxix3" (Jan 22nd 2013, 10:18pm)