Rigidbody2D.SlideMovement.selectedCollider

public Collider2D selectedCollider;

Description

The specific Collider2D attached to this Rigidbody2D to be used to detect contacts.

Can be used to select a specific Collider2D attached to this Rigidbody2D to be used to detect contacts. If this is selected then Rigidbody2D.SlideMovement.useAttachedTriggers is ignored.

Additional resources: Rigidbody2D.Slide and SlideResults.


Did you find this page useful? Please give it a rating: