Game crashes if game object has box shape in collision object (DEF-3900)

When I adding box shape to collision object into player.go game crashes with this message:

Assertion failed: area > 1.192092896e-07F, file ..\src\box2d\Box2D\Collision\Shapes\b2PolygonShape.cpp, line 115

Here is a project with reproduction
Shopped.zip (226.0 KB)

2 Likes

Ok, it was crashing because GO had z scale 0.00001. I think you should add handler of this error.

Good point! We’re soon doing a physics focused sprint. I’ll add this to the list of things to try to fix.

Thanks!

Created DEF-3900