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

Orthogonal View in Editor prevents Brush position from updating #311

Closed
christopwner opened this issue Feb 1, 2024 · 2 comments · Fixed by #313
Closed

Orthogonal View in Editor prevents Brush position from updating #311

christopwner opened this issue Feb 1, 2024 · 2 comments · Fixed by #313
Assignees
Labels
bug Something isn't working
Milestone

Comments

@christopwner
Copy link

Terrain3D version

v0.9.0

System information

Godot v4.2.1.stable - Ubuntu 22.04.3 LTS 22.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (nvidia; 535.154.05) - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads)

Is the issue reproducable in the demo?

Not applicable

Issue description

When switching to an orthogonal view (ie, KP 7 for TopDown) in the Godot editor, the terrain brush position does not update and is instead locked into the half-position or center of view.

Workaround exists by unchecking Auto Orthogonal Enabled to keep view in Perspective mode when using view alignment. May be related to #225.

Logs

No response

@TokisanGames
Copy link
Owner

Orthogonal is unsupported because of the non-collision based method used to detect where the terrain is without physics. Specifically, Godot's Camera3D.project_ray_normal() doesn't work in orthogonal mode. A new method is being worked on for #121 which might fix this.

@TokisanGames
Copy link
Owner

This will fix the orthographic view (top down only). Permanent fix coming in #313.

@TokisanGames TokisanGames added the bug Something isn't working label Feb 2, 2024
@TokisanGames TokisanGames modified the milestones: 0.9.1, Beta 0.9.x Feb 2, 2024
@TokisanGames TokisanGames self-assigned this Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants