# Collision - Source proto: `rb/api/robot_state.proto` Message type: collision. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | link1 | [string](../scalar-value-types.md#scalar-value-types) | | | | link2 | [string](../scalar-value-types.md#scalar-value-types) | | | | position1 | [Vec3](../geometry/vec3.md#rb-api-vec3) | | | | position2 | [Vec3](../geometry/vec3.md#rb-api-vec3) | | | | distance | [double](../scalar-value-types.md#scalar-value-types) | | |