pub struct SupportMotion {
pub id: u64,
pub requested: Vec3,
pub applied: Vec3,
pub blocked: bool,
}Expand description
Motion requested by the previous supporting obstacle during a fixed tick.
Fields§
§id: u64§requested: Vec3World-space displacement of the saved anchor, including platform rotation.
applied: Vec3Swept displacement actually applied, excluding overlap correction and snap. Only this displacement contributes platform velocity when jumping.
blocked: boolWhether the platform carry encountered an obstacle.
Trait Implementations§
Source§impl Clone for SupportMotion
impl Clone for SupportMotion
Source§fn clone(&self) -> SupportMotion
fn clone(&self) -> SupportMotion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SupportMotion
impl Debug for SupportMotion
Source§impl PartialEq for SupportMotion
impl PartialEq for SupportMotion
impl Copy for SupportMotion
impl StructuralPartialEq for SupportMotion
Auto Trait Implementations§
impl Freeze for SupportMotion
impl RefUnwindSafe for SupportMotion
impl Send for SupportMotion
impl Sync for SupportMotion
impl Unpin for SupportMotion
impl UnwindSafe for SupportMotion
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