|
Box2D
2.2.1
Box2D API Reference for Kobold2D developers
|
#include <b2Collision.h>
Collaboration diagram for b2RayCastOutput:Public Attributes | |
| b2Vec2 | normal |
| float32 | fraction |
Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from b2RayCastInput.