Api Editor TraceResult
struct

TraceResult

public sealed struct TraceResult

Fields

Name Type Description
Hit Boolean Whether the trace hit something or not
HitPosition Vector3 The hit position of the trace
Normal Vector3 The hit surface normal (direction vector)
MapNode MapNode The map node that was hit, if any
Assembly: Sandbox.Tools Namespace: Editor Full Name: Editor.TraceResult