The StartPosition
field represents the initial position of a trace operation within a scene. It is a Vector3
value that indicates where the trace begins. This field is read-only and is included in the action graph for tracing operations.
The StartPosition
field represents the initial position of a trace operation within a scene. It is a Vector3
value that indicates where the trace begins. This field is read-only and is included in the action graph for tracing operations.
Use the StartPosition
field to determine the starting point of a trace when analyzing the results of a scene trace operation. This can be useful for debugging or for understanding the path of a trace in relation to other objects in the scene.
// Example of accessing the StartPosition field SceneTraceResult traceResult = SceneTraceResult.From(scene, traceResult); Vector3 startPosition = traceResult.StartPosition; // Use startPosition for further calculations or logging // For example, logging the start position Log.Info($"Trace started at: {startPosition}");