构造函数

属性

collider: ColliderBase

所属物理组件

The physical component to which it belongs

fraction: number = 0

碰撞点沿射线的比例(0 到 1 之间)

The ratio of collision points along the ray (between 0 and 1)

hitNormal: Vector2 = ...

碰撞法线

collision normal

hitPoint: Vector2 = ...

碰撞点

collision point