pub struct RadialImpulse {
pub body: RigidBodyHandle,
pub collider: ColliderHandle,
pub separation: f32,
pub impulse: Vec3,
}Expand description
Exact accepted impulse; zero/underflow impulses and skipped bodies are absent. Output order is ascending generational body handle, independent of child order.
Fields§
§body: RigidBodyHandle§collider: ColliderHandleNearest accepted child, with ascending collider handle breaking ties.
separation: f32Signed sphere-probe separation from the existing overlap query.
impulse: Vec3Trait Implementations§
Source§impl Clone for RadialImpulse
impl Clone for RadialImpulse
Source§fn clone(&self) -> RadialImpulse
fn clone(&self) -> RadialImpulse
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 RadialImpulse
impl Debug for RadialImpulse
Source§impl PartialEq for RadialImpulse
impl PartialEq for RadialImpulse
impl Copy for RadialImpulse
impl StructuralPartialEq for RadialImpulse
Auto Trait Implementations§
impl Freeze for RadialImpulse
impl RefUnwindSafe for RadialImpulse
impl Send for RadialImpulse
impl Sync for RadialImpulse
impl Unpin for RadialImpulse
impl UnwindSafe for RadialImpulse
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