用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:collision2d:collision2d

Collision2D 碰撞2D

Namespace: UnityEngine

Description 描述

Information returned by a collision in 2D physics.

由2D物理碰撞返回的信息。

Variables 变量

colliderThe incoming Collider2D involved in the collision.
传入Collider2D参与碰撞。
contactsThe specific points of contact with the incoming Collider2D.
与传入的Collider2D接触点。
gameObjectThe incoming GameObject involved in the collision.
传入的GameObject参与碰撞 。
relativeVelocityThe relative linear velocity of the two colliding objects (Read Only).
两个碰撞对象的相对线速度(只读)。
rigidbodyThe incoming Rigidbody2D involved in the collision.
传入的Rigidbody2D参与碰撞。
transformThe Transform of the incoming object involved in the collision.
传入的对象变换参与碰撞。
script/unityengine/classes/collision2d/collision2d.txt · 最后更改: 2016/08/02 05:36 (外部编辑)