pub struct FlipResetCandidateEvent {
pub time: f32,
pub frame: usize,
pub player: PlayerId,
pub player_position: Option<[f32; 3]>,
pub is_team_0: bool,
pub confidence: f32,
pub local_ball_position: Vector3f,
pub closest_approach_distance: f32,
}Expand description
A heuristic underside-touch candidate used to connect old flip-reset follow-up logic.
Fields§
§time: f32§frame: usize§player: PlayerId§player_position: Option<[f32; 3]>§is_team_0: bool§confidence: f32Heuristic confidence in the range [0.0, 1.0].
local_ball_position: Vector3fBall position relative to the car in the car’s local frame.
closest_approach_distance: f32Ball-to-car hitbox contact gap in uu used for touch attribution.
This field keeps its historical name for wire compatibility. A value of
0.0 means the ball intersects or touches the oriented car hitbox after
subtracting the Rocket League ball collision radius.
Trait Implementations§
Source§impl Clone for FlipResetCandidateEvent
impl Clone for FlipResetCandidateEvent
Source§impl Debug for FlipResetCandidateEvent
impl Debug for FlipResetCandidateEvent
Source§impl PartialEq for FlipResetCandidateEvent
impl PartialEq for FlipResetCandidateEvent
Source§impl Serialize for FlipResetCandidateEvent
impl Serialize for FlipResetCandidateEvent
impl StructuralPartialEq for FlipResetCandidateEvent
Auto Trait Implementations§
impl Freeze for FlipResetCandidateEvent
impl RefUnwindSafe for FlipResetCandidateEvent
impl Send for FlipResetCandidateEvent
impl Sync for FlipResetCandidateEvent
impl Unpin for FlipResetCandidateEvent
impl UnsafeUnpin for FlipResetCandidateEvent
impl UnwindSafe for FlipResetCandidateEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more