pub struct SpringCollider {
pub node_index: u32,
pub shape: ColliderShape,
}Expand description
A collider attached to a node; its position is derived from the node’s
world matrix plus shape’s offset.
Fields§
§node_index: u32Raw glTF index of the node that positions this collider.
shape: ColliderShapeCollider geometry expressed in the node’s local space.
Trait Implementations§
Source§impl Clone for SpringCollider
impl Clone for SpringCollider
Auto Trait Implementations§
impl Freeze for SpringCollider
impl RefUnwindSafe for SpringCollider
impl Send for SpringCollider
impl Sync for SpringCollider
impl Unpin for SpringCollider
impl UnsafeUnpin for SpringCollider
impl UnwindSafe for SpringCollider
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