The TraceResult struct in the Editor
namespace provides information about the result of a trace operation, such as whether a hit occurred, the position of the hit, the normal of the surface hit, and the map node involved.
The TraceResult struct in the Editor
namespace provides information about the result of a trace operation, such as whether a hit occurred, the position of the hit, the normal of the surface hit, and the map node involved.
Member Name | Summary |
---|---|
Hit | Whether the trace hit something or not |
HitPosition | The hit position of the trace |
Normal | The hit surface normal (direction vector) |
MapNode | The map node that was hit, if any |