Integrate source airborne tilt and logical-root rendering

This commit is contained in:
UnixNight committed 2026-11-05 10:19:12 -05:00
1 parent a61f1b0284
commit 27be8ed630
36 files changed
+1953 -62

No files matched your search

+13
View File
@@ -9,6 +9,19 @@ public readonly record struct JimmyAirApply(Vector3 Velocity,Vector3 Rotation,fl
/// caller phases. Source constraints and observations: jimmy-air-motion.md.</summary>
public static class JimmyAirMotion
{
public const float ForwardPitch = -40;
public const float BackwardPitch = 10;
/// <summary>439DB7..439E33 target write. Pitch seeds belong to the preceding
/// apply/constructor phase, not the currently dispatched input mode.</summary>
public static Vector3 Destination(PlayerInput input,float yaw,float turn,
float forwardPitch=ForwardPitch,float backwardPitch=BackwardPitch)
{
if(!float.IsFinite(yaw)||!float.IsFinite(turn)||!float.IsFinite(forwardPitch)||!float.IsFinite(backwardPitch))
throw new ArgumentOutOfRangeException(nameof(yaw));
return new(input.Forward?forwardPitch:input.Backward?backwardPitch:0,yaw,-turn);
}
public static JimmyAirInputState Input(JimmyAirInputState state,PlayerInput input,bool supported,
float seconds,float maximumSpeed=600)
{