Box2D  2.2.1
Box2D API Reference for Kobold2D developers
b2RayCastOutput Struct Reference

#include <b2Collision.h>

+ Collaboration diagram for b2RayCastOutput:

List of all members.

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.


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