Search Unity

Question Collider scaling in Unity

Discussion in 'Physics' started by QtTx, Sep 4, 2021.

  1. QtTx

    QtTx

    Joined:
    Aug 20, 2021
    Posts:
    16
    Hi. I was going through PhysX documentation, and unless I am missing something, I don't think it can scale geometry out of the box. So I was wondering, how does Unity deal with scaled game objects? Does it simply multiplies dimensions of the collider by its lossyScale before passing it to PhysX, or is there more to it?
     
  2. r31o

    r31o

    Joined:
    Jul 29, 2021
    Posts:
    460
    Why you want to know it?
     
  3. QtTx

    QtTx

    Joined:
    Aug 20, 2021
    Posts:
    16
    I want to reproduce a unity physics scene in native physx.
     
  4. r31o

    r31o

    Joined:
    Jul 29, 2021
    Posts:
    460
    Idk how is done, I guess is a mesh collider