tengri/Content/Movement/Rotation/S_RotationResult.ts

30 lines
638 B
TypeScript

// Movement/Rotation/S_RotationResult.ts
import type { Float } from '#root/UE/Float.ts';
import type { Rotator } from '#root/UE/Rotator.ts';
/**
* Rotation result data
* Contains updated rotation and metadata about rotation state
*
* @category Movement Rotation
*/
export interface S_RotationResult {
/**
* New rotation after interpolation
*/
Rotation: Rotator;
/**
* Whether character is actively rotating
* False if rotation is complete or speed too low
*/
IsRotating: boolean;
/**
* Angular distance remaining to target (degrees)
* Used for animations and debug
*/
RemainingDelta: Float;
}