ContactPoint.point 接触点
var point : Vector3
Description描述
The point of contact.
接触的点。
// Print how many points are colliding this transform
//打印这个变换有多少碰撞点
// And print the first point that is colliding.
//并打印第一个碰撞点
function OnCollisionEnter(other : Collision) {
print("Points colliding: " + other.contacts.Length);
print("First point that collided: " + other.contacts[0].point);
}
最后修改:2011年1月7日 Friday 21:51