projectEli/Assets/NeoFPS/Core/MotionGraphs/EnvironmentElements/IWaterZone.cs
2022-11-06 20:28:33 -05:00

24 lines
492 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NeoFPS
{
public interface IWaterZone
{
Vector3 FlowAtPosition(Vector3 position);
WaterSurfaceInfo SurfaceInfoAtPosition(Vector3 position);
}
public struct WaterSurfaceInfo
{
public Vector3 normal;
public float height;
public WaterSurfaceInfo(Vector3 n, float h)
{
normal = n;
height = h;
}
}
}