Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Performance Questions
#5
(07-10-2018, 03:32 AM)rosedev Wrote: Thank you for the help! I have one more issue with Obi colliders. Unity Editor crashes when I'm trying to set negative scale to a GameObject with EdgeCollider2D and ObiCollider2D attached. The same happens when I'm trying to set negative scale (x=-1) to the bucket in the sample scene. 
Is there some workaround for this?

Tested with 2018.2.1 and 2018.3 beta

Hi,

We'll test it asap.

However I would recommend avoiding negative scales in general, when using any kind of physics engine. Most colliders will work in different and unexpected ways when using negative scales (crashing is not one of them though, that would be a bug), as that generally turns them "inside out". In the case of a box colliders for instance, it would flip its normals.

Edit: Found the cause of the crash. Only happens to edge/mesh colliders. It is a bug, will provide a workaround as soon as I find one.
Reply


Messages In This Thread
Performance Questions - by rosedev - 01-10-2018, 03:08 AM
RE: Performance Questions - by rosedev - 02-10-2018, 06:48 PM
RE: Performance Questions - by josemendez - 03-10-2018, 08:49 AM
RE: Performance Questions - by rosedev - 07-10-2018, 03:32 AM
RE: Performance Questions - by josemendez - 07-10-2018, 04:01 PM
RE: Performance Questions - by rosedev - 08-10-2018, 11:59 PM