HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
|
A hit touch event is generated when two shapes collide with a speed faster than the hit speed threshold. More...
Public Attributes | |
readonly Shape | ShapeA |
The first shape. | |
readonly Shape | ShapeB |
The second shape. | |
readonly Vec2 | Point |
Point where the shapes hit. | |
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.