Version: 5.3

Collision2D

class in UnityEngine

매뉴얼로 전환

설명

Information returned by a collision in 2D physics.

변수

colliderThe incoming Collider2D involved in the collision.
contactsThe specific points of contact with the incoming Collider2D.
enabledWhether the collision was disabled or not.
gameObjectThe incoming GameObject involved in the collision.
relativeVelocityThe relative linear velocity of the two colliding objects (Read Only).
rigidbodyThe incoming Rigidbody2D involved in the collision.
transformThe Transform of the incoming object involved in the collision.