pub struct CollisionMesh {
pub body: usize,
pub vertices: Vec<Vec3<f64>>,
}Expand description
A body’s collision skin: vertices in the body frame (m). Only the vertices matter to the per-vertex penalty model — triangles are not used.
Fields§
§body: usizeIndex of the body this skin is attached to.
vertices: Vec<Vec3<f64>>Vertex positions in the body frame (m).
Trait Implementations§
Source§impl Clone for CollisionMesh
impl Clone for CollisionMesh
Source§fn clone(&self) -> CollisionMesh
fn clone(&self) -> CollisionMesh
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CollisionMesh
impl RefUnwindSafe for CollisionMesh
impl Send for CollisionMesh
impl Sync for CollisionMesh
impl Unpin for CollisionMesh
impl UnsafeUnpin for CollisionMesh
impl UnwindSafe for CollisionMesh
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