Table of Contents

Struct DynamicTree.RayCastResult

Namespace
Jitter2.Collision
Assembly
Jitter2.dll

Represents the result of a ray cast against the dynamic tree.

public struct DynamicTree.RayCastResult
Inherited Members

Fields

Entity

The proxy that was hit.

public IDynamicTreeProxy? Entity

Field Value

IDynamicTreeProxy

Lambda

The ray parameter at the hit: hitPoint = origin + Lambda * direction.

public float Lambda

Field Value

float

Normal

The surface normal at the hit point, or Zero when the ray origin is inside the hit shape. Do not use this to test whether a hit occurred.

public JVector Normal

Field Value

JVector