文档

Unity Engine

Unity Engine

otherBodyInstanceID

Instance ID of the second body in this contact pair.
阅读时间1 分钟最后更新于 2 天前

Definition

public int otherBodyInstanceID { get; }

Remarks

Note that this can be Rigidbody or ArticulationBody.