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

Crashes when scaling terrain to 0 #32405

Closed
Skintillion opened this issue Sep 28, 2019 · 5 comments
Closed

Crashes when scaling terrain to 0 #32405

Skintillion opened this issue Sep 28, 2019 · 5 comments

Comments

@Skintillion
Copy link

Skintillion commented Sep 28, 2019

Godot version:
3.2.alpha.colinou.edf9055b7

OS/device including version:
Windows 7 64 bit

Issue description:
Simple scene, with box mesh terrain and texture. When use mouse to transform, if I go below 0 engine crashes. Says driver error. If I go quickly and it doesn't hit exactly 0 it's fine.

image

image

Steps to reproduce:
Scale simple mesh to 0 height

Minimal reproduction project:
Box mesh in a 3d Scene.

image

@fire
Copy link
Member

fire commented Sep 28, 2019

Anytime the scale is 0, the bullet physics subsystem crashes.

Secondly you're not equally scaling all three axes.

@qarmin
Copy link
Contributor

qarmin commented Sep 28, 2019

For me it only print error to terminal:

ERROR: orthonormalize: Condition ' determinant() == 0 ' is true.
   At: core/math/basis.cpp:81.
ERROR: invert: Condition ' det == 0 ' is true.
   At: core/math/basis.cpp:69.

@hbina
Copy link
Contributor

hbina commented Sep 28, 2019

@fire should it be bounded to never go to 0 then?

@Anutrix
Copy link
Contributor

Anutrix commented Oct 2, 2019

Similar to #14864. Scale should never go to zero for anything.

@madmiraal
Copy link
Contributor

Fixed with #41426, cherry-picked for 3.2.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants