velocity – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 11: Line 11:


::Speaking of the example. It makes no sense IMHO. It suggests that the car is exceeding a speed limit but it only checks the x value, meaning the speed in x (world) direction. But in reality it makes no sense as the car could drive much faster in y-direction and have a value of 0 in x direction. Also 50 m/s (13.89 km/h) is not really fast for a car ;) I guess the example should be changed to have a less misguiding example than the current one. [[User:Donnervogel|Donnervogel]] 23:46, 16 June 2007 (CEST)
::Speaking of the example. It makes no sense IMHO. It suggests that the car is exceeding a speed limit but it only checks the x value, meaning the speed in x (world) direction. But in reality it makes no sense as the car could drive much faster in y-direction and have a value of 0 in x direction. Also 50 m/s (13.89 km/h) is not really fast for a car ;) I guess the example should be changed to have a less misguiding example than the current one. [[User:Donnervogel|Donnervogel]] 23:46, 16 June 2007 (CEST)
:: right, except that 50m/s is 180km/h which is quite fast ;) --[[User:T D|T_D]] 01:35, 17 June 2007 (CEST)

Revision as of 00:35, 17 June 2007

What does select 0 in the second example mean exactly?

? (velocity carOne Select 0) > 50 : hint "Slow down, you are exceeding the speed limit."

There is no array involved in this.

Edit:......never mind.....I think I got there finally  ;)


Planck 22:16, 16 June 2007 (CEST)

Speaking of the example. It makes no sense IMHO. It suggests that the car is exceeding a speed limit but it only checks the x value, meaning the speed in x (world) direction. But in reality it makes no sense as the car could drive much faster in y-direction and have a value of 0 in x direction. Also 50 m/s (13.89 km/h) is not really fast for a car ;) I guess the example should be changed to have a less misguiding example than the current one. Donnervogel 23:46, 16 June 2007 (CEST)
right, except that 50m/s is 180km/h which is quite fast ;) --T_D 01:35, 17 June 2007 (CEST)