pub struct WheelJoint {Show 23 fields
pub perp_impulse: f32,
pub motor_impulse: f32,
pub spring_impulse: f32,
pub lower_impulse: f32,
pub upper_impulse: f32,
pub max_motor_torque: f32,
pub motor_speed: f32,
pub lower_translation: f32,
pub upper_translation: f32,
pub hertz: f32,
pub damping_ratio: f32,
pub index_a: i32,
pub index_b: i32,
pub frame_a: Transform,
pub frame_b: Transform,
pub delta_center: Vec2,
pub perp_mass: f32,
pub motor_mass: f32,
pub axial_mass: f32,
pub spring_softness: Softness,
pub enable_spring: bool,
pub enable_motor: bool,
pub enable_limit: bool,
}Expand description
(b2WheelJoint)
Fields§
§perp_impulse: f32§motor_impulse: f32§spring_impulse: f32§lower_impulse: f32§upper_impulse: f32§max_motor_torque: f32§motor_speed: f32§lower_translation: f32§upper_translation: f32§hertz: f32§damping_ratio: f32§index_a: i32§index_b: i32§frame_a: Transform§frame_b: Transform§delta_center: Vec2§perp_mass: f32§motor_mass: f32§axial_mass: f32§spring_softness: Softness§enable_spring: bool§enable_motor: bool§enable_limit: boolTrait Implementations§
Source§impl Clone for WheelJoint
impl Clone for WheelJoint
Source§fn clone(&self) -> WheelJoint
fn clone(&self) -> WheelJoint
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 WheelJoint
Source§impl Debug for WheelJoint
impl Debug for WheelJoint
Source§impl Default for WheelJoint
impl Default for WheelJoint
Source§impl PartialEq for WheelJoint
impl PartialEq for WheelJoint
impl StructuralPartialEq for WheelJoint
Auto Trait Implementations§
impl Freeze for WheelJoint
impl RefUnwindSafe for WheelJoint
impl Send for WheelJoint
impl Sync for WheelJoint
impl Unpin for WheelJoint
impl UnsafeUnpin for WheelJoint
impl UnwindSafe for WheelJoint
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