HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
Box2D.ContactHitEvent Struct Reference

A hit touch event is generated when two shapes collide with a speed faster than the hit speed threshold. More...

Collaboration diagram for Box2D.ContactHitEvent:
Collaboration graph
[legend]

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.
 

Detailed Description

A hit touch event is generated when two shapes collide with a speed faster than the hit speed threshold.


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