projectEli/Assets/NeoFPS/Core/NeoCharacterController/IMovingPlatform.cs

28 lines
875 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
using UnityEngine;
namespace NeoCC
{
public interface IMovingPlatform
{
/// <summary>
/// The current fixed update position of the platform in world space (used for interpolation).
/// </summary>
Vector3 fixedPosition { get; }
/// <summary>
/// The position of the platform in world space on the last fixed update frame (used for interpolation).
/// </summary>
Vector3 previousPosition { get; }
/// <summary>
/// The current fixed update rotation of the platform in world space (used for interpolation).
/// </summary>
Quaternion fixedRotation { get; }
/// <summary>
/// The rotation of the platform in world space on the last fixed update frame (used for interpolation).
/// </summary>
Quaternion previousRotation { get; }
}
}