Box2D: b2RayCastOutput Struct Reference

| Box2D 2.4.1 A 2D physics engine for games

Public Attributes | List of all members
b2RayCastOutput Struct Reference

`#include <b2_collision.h>`

## Public Attributes
b2Vec2 | normal
float | fraction

## Detailed Description

Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from b2RayCastInput.

The documentation for this struct was generated from the following file:

- /build/box2d/src/box2d-2.4.1/include/box2d/b2_collision.h