pub enum PhysicsDebugLine {
Bounds {
sleeping: bool,
island: Option<u32>,
},
Contact {
touching: bool,
impulse: f64,
feature: u32,
},
}Expand description
What a segment from PhysicsSystem::debug_lines shows, for the caller
to colour.
Variants§
Bounds
An edge of an entity’s collider’s bounding box in the world.
Fields
Contact
From a contact point, CONTACT_NORMAL_LENGTH along the contact’s
normal, which points from its lower-ranked shape into the other.
Fields
§
touching: boolThe surfaces touch or overlap there, rather than standing near enough apart that the solver keeps the point in case they meet.
Trait Implementations§
Source§impl Clone for PhysicsDebugLine
impl Clone for PhysicsDebugLine
impl Copy for PhysicsDebugLine
Source§impl Debug for PhysicsDebugLine
impl Debug for PhysicsDebugLine
Source§impl PartialEq for PhysicsDebugLine
impl PartialEq for PhysicsDebugLine
impl StructuralPartialEq for PhysicsDebugLine
Auto Trait Implementations§
impl Freeze for PhysicsDebugLine
impl RefUnwindSafe for PhysicsDebugLine
impl Send for PhysicsDebugLine
impl Sync for PhysicsDebugLine
impl Unpin for PhysicsDebugLine
impl UnsafeUnpin for PhysicsDebugLine
impl UnwindSafe for PhysicsDebugLine
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