using System; using System.Collections.Generic; using System.Runtime.ConstrainedExecution; using System.Text; using UnityEngine; public class CECHostMove { // Giữ reference tới CECHostPlayer – y như bản gốc } public struct CDR_INFO { //the aabb public Vector3 vCenter; //@note : the caller should make sure ext(.x, .y, .z) > 0. By Kuiwu[22/9/2005] public Vector3 vExtent; public float fStepHeight; // Velocity Info public Vector3 vXOZVelDir; public float fYVel; public float fSpeed; // time span ( sec ) public float t; // Gravity acceleration public float fGravityAccel; // the Climb Slope Thresh public float fSlopeThresh; // Tangent plane Info public Vector3 vTPNormal; // Absolute Velocity: output for forcast! public Vector3 vAbsVelocity; //the moving dist public float fMoveDist; };