Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect height when end position on another tile #8

Open
vaIgarashi opened this issue Nov 9, 2024 · 0 comments
Open

Incorrect height when end position on another tile #8

vaIgarashi opened this issue Nov 9, 2024 · 0 comments

Comments

@vaIgarashi
Copy link

vaIgarashi commented Nov 9, 2024

Input

map_id = 1

let start_position = Vector::from_xyz(-600.250732421875, -4259.4462890625, 38.9561767578125);
let end_position = Vector::from_xyz(289.3760070800781, -4735.45849609375, 9.107324600219727);

Output

Vector {
  y: -4266.6665,
  z: 0.5,
  x: -558.9335,
},

Last element height is 0.5 due self.query.get_poly_height returns error.

Err(GetPolyHeightFailure(DtStatus(FAILURE | INVALID_PARAM)))

@vaIgarashi vaIgarashi changed the title Incorrect height when end position on other tile Incorrect height when end position on another tile Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant