tbe icon indicating copy to clipboard operation
tbe copied to clipboard

Level Creator crashes when trying to scale very small objects

Open Wuzzy2 opened this issue 8 years ago • 2 comments

How to reproduce (I don't know if this always works):

  • Start level creator
  • Turn of collide mode
  • Place some walls and floors
  • Take one floor or wall and make it really small
  • Move it above another floor or wall so that it overlaps
  • Turn on collide mode
  • Select the object you edited previously and try to shrink it even more

I sometimes get a segmentation fault when doing this, but I don't know when exactly, so I can't reliably reproduce this (for now). I hope you are able to reproduce it. If not, leave me a message. b6067f70214b561bfc73bf567540a06d8ee51fe2

Wuzzy2 avatar Feb 21 '16 03:02 Wuzzy2

This is a known limitation of the physics library Box2D.

Nothing should be dimensioned below approx 7cm.

So, this ticket is not about making things arbitrary small - there are soft limits in the physics engine preventing that. This ticket should be about making sure you cannot go below a certain size.

And yes, the walls of your cardboard box are too small :wink:

kaa-ching avatar Feb 21 '16 09:02 kaa-ching

Is this cardboard box polygon OK?

(-0.40,-0.4)=(-0.33,-0.4)=(-0.33,0.40)=(-0.40,0.40);(0.33,-0.4)=(0.4,-0.4)=(0.4,0.40)=(0.33,0.40);(-0.33,-0.4)=(-0.33,-0.33)=(0.33,-0.33)=(0.33,-0.4)

Wuzzy2 avatar Jan 15 '20 15:01 Wuzzy2