您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
33 行
1.1 KiB
33 行
1.1 KiB
using Unity.Entities;
|
|
using Unity.Physics;
|
|
|
|
namespace Unity.MegaCity.Gameplay
|
|
{
|
|
/// <summary>
|
|
/// Set of components required for player vehicle movement and control
|
|
/// </summary>
|
|
public struct PlayerVehicleSettings : IComponentData
|
|
{
|
|
public float BoostAcceleration;
|
|
public float BoostMaxSpeed;
|
|
public float Acceleration;
|
|
public float Deceleration;
|
|
public float MaxSpeed;
|
|
public float DragBreakForce;
|
|
public float PitchForce;
|
|
public float YawKickBack;
|
|
public PhysicsDamping Damping;
|
|
public float RollAutoLevelVelocity;
|
|
public float MaxBankAngle;
|
|
public float MaxYawAngle;
|
|
public float MaxPitchAngle;
|
|
public float BankVolatility;
|
|
public float ManualRollMaxSpeed;
|
|
public float ManualRollAcceleration;
|
|
public float SteeringSpeed;
|
|
public float InvMaxVelocity;
|
|
public bool InvertPitch;
|
|
public float TargetFollowDamping;
|
|
public float TargetSqLerpThreshold;
|
|
}
|
|
}
|