去掉obi,使用自写绳索

This commit is contained in:
2026-02-23 20:51:03 +08:00
parent cb636f862d
commit 91e2309eeb
2011 changed files with 2593 additions and 190578 deletions

View File

@@ -1,26 +0,0 @@
using UnityEngine;
using System.Collections.Generic;
namespace Obi
{
public class ObiRaycastHit
{
/// Distance from the Raycast origin to the point of impact.
public float distance;
/// The position in model space where a raycast intercepted a triangle.
public Vector3 position;
/// The normal in model space of the triangle that this raycast hit.
public Vector3 normal;
/// The triangle index of the hit face.
public int triangle;
public ObiRaycastHit(float distance, Vector3 position, Vector3 normal, int triangle)
{
this.distance = distance;
this.position = position;
this.normal = normal;
this.triangle = triangle;
}
}
}