Class b2RayCastOutput

Results of a ray cast.

Index

Properties

Properties

public fraction: number

The fraction between p1 and p2 that the collision occurs at.

public normal: b2Vec2

The normal at the point of collision.