mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
27 lines
639 B
C#
27 lines
639 B
C#
using UnityEngine;
|
|
|
|
namespace NewHorizons.Utility.DebugUtilities
|
|
{
|
|
struct DebugRaycastData
|
|
{
|
|
public bool hit;
|
|
public Vector3 pos;
|
|
public Vector3 norm;
|
|
public Quaternion rot;
|
|
public DebugRaycastPlane plane;
|
|
|
|
public string colliderPath;
|
|
public string bodyPath;
|
|
public GameObject hitBodyGameObject;
|
|
public GameObject hitObject;
|
|
}
|
|
|
|
struct DebugRaycastPlane
|
|
{
|
|
public Vector3 origin;
|
|
public Vector3 normal;
|
|
public Vector3 u; // the "+x" direction on the plane
|
|
public Vector3 v; // the "+y" direction on the plane
|
|
}
|
|
}
|