Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
b2RayCastOutput Struct Reference

`#include <b2Collision.h>`

## Public Attributes
b2Vec2 | normal
float32 | fraction

## Detailed Description

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

## Member Data Documentation

float32 fraction

b2Vec2 normal

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

- Box2D/Collision/b2Collision.h