Constructor
new Box2dRaycastResult(fixture, point, normal, fraction)
Create a raycast result
- Source
Members
fixture
PropertiesType | Description |
---|---|
Object | The fixture that was hit |
- Source
fraction
PropertiesType | Description |
---|---|
number | Distance fraction at the point of intersection |
- Source
normal
PropertiesType | Description |
---|---|
Vector2 | The hit normal |
- Source
object
PropertiesType | Description |
---|---|
Box2dObject | The box2d object |
- Source
point
PropertiesType | Description |
---|---|
Vector2 | The hit point |
- Source