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

Slope land contact correction does not works for some objects #105

Open
jetelain opened this issue Aug 23, 2023 · 2 comments
Open

Slope land contact correction does not works for some objects #105

jetelain opened this issue Aug 23, 2023 · 2 comments
Labels
bug Something isn't working GRM Arma3 Arma 3 specific generator

Comments

@jetelain
Copy link
Owner

Objects to test:

  • Land_Sidewalk_01_8m_F
  • Land_Sidewalk_01_narrow_2m_F
  • Land_Sidewalk_01_narrow_4m_F
  • Land_Sidewalk_01_narrow_8m_F
  • Land_Track_01_3m_F
  • Land_Track_01_10m_F
  • Land_Track_01_20m_F
@jetelain jetelain added bug Something isn't working GRM Arma3 Arma 3 specific generator labels Aug 23, 2023
@jetelain
Copy link
Owner Author

The reference point for normal correction might be wrong

@jetelain jetelain mentioned this issue Aug 25, 2023
4 tasks
@jetelain
Copy link
Owner Author

System assumes the land contact is centered on model center.
To test :

  • get resolution 2E+15
  • get the 3 vertexes
  • compute the plane normal vector for the 3 vertexes at ground surface (via ElevationGrid)
  • use that vector to compensate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GRM Arma3 Arma 3 specific generator
Projects
None yet
Development

No branches or pull requests

1 participant