pub struct GroundContact {
pub height: f64,
pub stiffness: f64,
pub damping: f64,
}Expand description
A ground plane at z = height with a linear penalty contact law.
Fields§
§height: f64World z of the plane (m).
stiffness: f64Penalty stiffness k (N/m per vertex).
damping: f64Penalty damping c (N·s/m per vertex).
Trait Implementations§
Source§impl Clone for GroundContact
impl Clone for GroundContact
Source§fn clone(&self) -> GroundContact
fn clone(&self) -> GroundContact
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 moreimpl Copy for GroundContact
Auto Trait Implementations§
impl Freeze for GroundContact
impl RefUnwindSafe for GroundContact
impl Send for GroundContact
impl Sync for GroundContact
impl Unpin for GroundContact
impl UnsafeUnpin for GroundContact
impl UnwindSafe for GroundContact
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