Declared in LaserRangeFinder
Declaration
void OnTraceHit(
double trueRange,
bool isDetected
);Description
Executed when a sample is created through Unreal with trace-derived range data. Called from C++ after LineTrace completes. Applies calibration/accuracy without running analytical target search.
Parameters
| Name | Description |
|---|---|
| trueRange | [m] The true distance measured by the LineTrace |
| isDetected | Whether the trace hit a valid target |