pub struct WheelJointDef {Show 18 fields
pub base: JointDef,
pub enable_suspension_spring: bool,
pub suspension_hertz: f32,
pub suspension_damping_ratio: f32,
pub enable_suspension_limit: bool,
pub lower_suspension_limit: f32,
pub upper_suspension_limit: f32,
pub enable_spin_motor: bool,
pub max_spin_torque: f32,
pub spin_speed: f32,
pub enable_steering: bool,
pub steering_hertz: f32,
pub steering_damping_ratio: f32,
pub target_steering_angle: f32,
pub max_steering_torque: f32,
pub enable_steering_limit: bool,
pub lower_steering_limit: f32,
pub upper_steering_limit: f32,
}Expand description
Wheel joint: chassis A + wheel B with suspension and steering. (b3WheelJointDef)
Fields§
§base: JointDef§enable_suspension_spring: bool§suspension_hertz: f32§suspension_damping_ratio: f32§enable_suspension_limit: bool§lower_suspension_limit: f32§upper_suspension_limit: f32§enable_spin_motor: bool§max_spin_torque: f32§spin_speed: f32§enable_steering: bool§steering_hertz: f32§steering_damping_ratio: f32§target_steering_angle: f32§max_steering_torque: f32§enable_steering_limit: bool§lower_steering_limit: f32§upper_steering_limit: f32Trait Implementations§
Source§impl Clone for WheelJointDef
impl Clone for WheelJointDef
Source§fn clone(&self) -> WheelJointDef
fn clone(&self) -> WheelJointDef
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 WheelJointDef
Source§impl Debug for WheelJointDef
impl Debug for WheelJointDef
Source§impl Default for WheelJointDef
impl Default for WheelJointDef
Source§impl PartialEq for WheelJointDef
impl PartialEq for WheelJointDef
impl StructuralPartialEq for WheelJointDef
Auto Trait Implementations§
impl Freeze for WheelJointDef
impl RefUnwindSafe for WheelJointDef
impl Send for WheelJointDef
impl Sync for WheelJointDef
impl Unpin for WheelJointDef
impl UnsafeUnpin for WheelJointDef
impl UnwindSafe for WheelJointDef
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