Struct RigidObstructions
pub struct RigidObstructions<'a> {
pub world: &'a PhysicsWorld,
pub mask: u32,
pub ignore: Option<RigidBodyHandle>,
}Expand description
Filter by collider membership and ignore all parts of the followed body. Current compound/local transforms are read directly; no query sync is needed.
Fields§
§world: &'a PhysicsWorld§mask: u32§ignore: Option<RigidBodyHandle>Implementations§
§impl<'a> RigidObstructions<'a>
impl<'a> RigidObstructions<'a>
pub fn new(world: &'a PhysicsWorld) -> RigidObstructions<'a>
Trait Implementations§
§impl CollisionQuery for RigidObstructions<'_>
impl CollisionQuery for RigidObstructions<'_>
Auto Trait Implementations§
impl<'a> Freeze for RigidObstructions<'a>
impl<'a> RefUnwindSafe for RigidObstructions<'a>
impl<'a> Send for RigidObstructions<'a>
impl<'a> Sync for RigidObstructions<'a>
impl<'a> Unpin for RigidObstructions<'a>
impl<'a> UnwindSafe for RigidObstructions<'a>
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