pub struct Krp {
pub k: bool,
pub g: bool,
pub c: bool,
pub bounce: f64,
pub mu: f64,
}
Expand description
krp
Fields§
§k: bool
kinetics (false: keep position)
g: bool
gravity sensitive (false: call dBodyDisable())
c: bool
collision
bounce: f64
bounce
mu: f64
mu (e.g. polyethylene 0.06 to 0.3) default 0.3
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Krp
impl RefUnwindSafe for Krp
impl Send for Krp
impl Sync for Krp
impl Unpin for Krp
impl UnwindSafe for Krp
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