engine icon indicating copy to clipboard operation
engine copied to clipboard

Inconsistent Physics Mesh Collider behaviour on negative scales

Open jpauloruschel opened this issue 3 years ago • 0 comments

Description

Collision components of type mesh do not follow the behaviour of the render component in handling negative scale values. From the gif below, positive scales work fine, but negative scale values are not handled properly, as if only their absolute value is used.

scale

To be clear, this is not only the pre-visualisation, and the actual physics behaviour when playing is wrong.

Steps to Reproduce

  1. Make sure project has Ammo imported, for physics
  2. Create a new entity with a collision component, set to mesh type
  3. Attach any render asset
  4. Change the scale values of the entity (x, y or z) to negative values

jpauloruschel avatar Aug 08 '22 14:08 jpauloruschel