Results 1 to 4 of 4

Thread: Waypoint Speed field

  1. #1
    Supporting Member
    Join Date
    Dec 2019
    Posts
    473
    Post Thanks / Like
    Total Downloaded
    22.61 MB

    Waypoint Speed field

    When I grab the double value of waypoint speed it seems to come out as a value 3.6 times smaller than the km/h that is in the waypoint.

    Anyone know why this is?

    Firstly I assume it really [U]IS[U] the speed that is in the waypoint and I haven't messed up in my basic understanding of what I am getting in my code?

    public double Speed
    Member of maddox.game.world.AiWayPoint


    My guess is that it is in knots? But 1 kmh = 1.852 knots, 2km/h = 3.704 but that is an errror of 3%?
    I am Yo-Yo not YoYo (that's someone else)

  2. #2
    Combat pilot
    Join Date
    Oct 2021
    Posts
    113
    Post Thanks / Like
    Total Downloaded
    12.95 MB

    Re: Waypoint Speed field

    Quote Originally Posted by Yo-Yo View Post
    When I grab the double value of waypoint speed it seems to come out as a value 3.6 times smaller than the km/h that is in the waypoint...
    1m/s x 60{sec.} X 60{min.} = 3600m per hour = 3.6 km/h
    Last edited by GANIX; Mar-05-2023 at 09:06.

  3. #3
    Combat pilot
    Join Date
    Oct 2021
    Posts
    113
    Post Thanks / Like
    Total Downloaded
    12.95 MB

    Re: Waypoint Speed field

    Quote Originally Posted by Yo-Yo View Post
    My guess is that it is in knots? But 1 kmh = 1.852 knots, 2km/h = 3.704 but that is an errror of 3%?
    NO! The game engine returns nearly all velocity values as meter per second. Except Indicated 'Speed'. But that is another story.

  4. Likes Yo-Yo liked this post
  5. #4
    Supporting Member
    Join Date
    Dec 2019
    Posts
    473
    Post Thanks / Like
    Total Downloaded
    22.61 MB

    Re: Waypoint Speed field

    Excellent, thank you.
    I am Yo-Yo not YoYo (that's someone else)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •