I wondered why Rick was using a PolygonCollider2D and making a rectangle out of, instead of using a BoxCollider2D, so I tried switching to a BoxCollider2D, and I couldn’t get Cinemachine to work with the BoxCollider2D.
Just FYI.
Jim
I wondered why Rick was using a PolygonCollider2D and making a rectangle out of, instead of using a BoxCollider2D, so I tried switching to a BoxCollider2D, and I couldn’t get Cinemachine to work with the BoxCollider2D.
Just FYI.
Jim
Good to know! I wasn’t able to find any official docs on this, however I did find a forum post where the Cinemachine expert “Gregoryl” at Unity states that the “Bounding Shape 2D” field must be set to either a PolygonCollider2D
or a CompositeCollider2D
. Therefore BoxCollider2D
is not supported.