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

vecdraw labels keep growing in size if moving near ground. #2802

Closed
Dunbaratu opened this issue Nov 8, 2020 · 0 comments · Fixed by #2804
Closed

vecdraw labels keep growing in size if moving near ground. #2802

Dunbaratu opened this issue Nov 8, 2020 · 0 comments · Fixed by #2804
Labels
bug Weird outcome is probably not what the mod programmer expected.

Comments

@Dunbaratu
Copy link
Member

It looks like the fix in PR #2799 didn't entirely fix everything. The following scenario is still screwed up:

If you are on Kerbin, within 150m of the ground (or within 150m of sea level if over water), and you are moving, the vecdraw labels keep growing in size. They snap back to normal when you get above 150m, or if you stop moving. The game is doing something weird with the camera position when near the ground, I assume, as the camera position is used to calculate how big the label should be.

I suspect: When near terrain (or sea) polygons, the game is not locking the camera and world coords because that would mean having to move terrain polygons with colliders. Once the terrain is far enough away, then it becomes okay to move it around because terrain no longer needs to be "real" at that height. (Thus also why ground objects stay "packed" at that height - there's no real terrain for them to rest on.)

@Dunbaratu Dunbaratu added the bug Weird outcome is probably not what the mod programmer expected. label Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Weird outcome is probably not what the mod programmer expected.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant