Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Feature Request Inspector notification/flag if GameObject has both Unity Physics and PhysX collider.

Discussion in 'DOTS Physics' started by Waka-Takaki, Oct 3, 2021.

  1. Waka-Takaki

    Waka-Takaki

    Joined:
    Jan 19, 2014
    Posts:
    27
    Just a simple quality of life feature that might save quite a few people some confusion. I had a good few confused minutes where I was searching for the cause of a "bug" where my Physics Shape Mesh Collider for an inverted sphere (flipped normals) was acting like a standard sphere collider by forcing internal objects outside.

    After 10-15 minutes of looking up whether this was a bug with the entity conversion process I realised the object also had a PhysX sphere collider component on it near the top of the component list (I had to scroll up... working on a small laptop, remoting in to my workstation lol).

    It would be nice if a note is displayed on the Physics Shape component saying that you are mixing physics engines, if you have a PhysX collider on the same object.

    That is all :cool:
     
unityunity