|
HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.1
|
A hit touch event is generated when two shapes collide with a speed faster than the hit speed threshold. This may be reported for speculative contacts that have a confirmed impulse. More...

Public Attributes | |
| readonly Shape | ShapeA |
| The first shape. | |
| readonly Shape | ShapeB |
| The second shape. | |
| readonly Vec2 | Point |
| Point where the shapes hit at the beginning of the time step. This is a mid-point between the two surfaces. It could be at speculative point where the two shapes were not touching at the beginning of the time step. | |
| readonly Vec2 | Normal |
| Normal vector pointing from shape A to shape B. | |
| readonly float | ApproachSpeed |
| The speed the shapes are approaching. Always positive. Typically in meters per second. | |
A hit touch event is generated when two shapes collide with a speed faster than the hit speed threshold. This may be reported for speculative contacts that have a confirmed impulse.