-
Notifications
You must be signed in to change notification settings - Fork 776
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
Terrain avoidance doesn't work with middle mouse button pressed in earth manipulator #1784
Labels
defect
It's busted
Comments
I count not repro it your way, but I could repro by positioning the camera above a mountain, and then pitching up so that the camera went down into the ground underneath. |
Toggling the collision using the 'k' key had no effect. I was still able to go under the terrain At any rate, I'm glad you were able to repro the problem. |
I have a fix for this, but it till have to wait until after the 3.3 release (because of breaking APIs). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Playing with the osgearth_manip.exe example, I noticed that enabling terrain avoidance (via ToggleCollisionHandler) doesn't have any effect when using the middle mouse button (hold down and moving the mouse up and down) to move the viewpoint close to the ground.
This can be seen by using the osgearth_manip.exe with an earth file pointing to terrain data:
If terrain avoidance is enabled, the camera should clamp to the minimum distance defined and not go through the terrain surface.
The text was updated successfully, but these errors were encountered: