pub struct RevoluteJoint {Show 27 fields
pub linear_impulse: Vec3,
pub perp_impulse: Vec2,
pub spring_impulse: f32,
pub motor_impulse: f32,
pub lower_impulse: f32,
pub upper_impulse: f32,
pub hertz: f32,
pub damping_ratio: f32,
pub max_motor_torque: f32,
pub motor_speed: f32,
pub target_angle: f32,
pub lower_angle: f32,
pub upper_angle: f32,
pub index_a: i32,
pub index_b: i32,
pub frame_a: Transform,
pub frame_b: Transform,
pub rotation_axis_z: Vec3,
pub perp_axis_x: Vec3,
pub perp_axis_y: Vec3,
pub delta_center: Vec3,
pub delta_angle: f32,
pub axial_mass: f32,
pub spring_softness: Softness,
pub enable_spring: bool,
pub enable_motor: bool,
pub enable_limit: bool,
}Expand description
(b3RevoluteJoint)
Fields§
§linear_impulse: Vec3§perp_impulse: Vec2§spring_impulse: f32§motor_impulse: f32§lower_impulse: f32§upper_impulse: f32§hertz: f32§damping_ratio: f32§max_motor_torque: f32§motor_speed: f32§target_angle: f32§lower_angle: f32§upper_angle: f32§index_a: i32§index_b: i32§frame_a: Transform§frame_b: Transform§rotation_axis_z: Vec3§perp_axis_x: Vec3§perp_axis_y: Vec3§delta_center: Vec3§delta_angle: f32§axial_mass: f32§spring_softness: Softness§enable_spring: bool§enable_motor: bool§enable_limit: boolTrait Implementations§
Source§impl Clone for RevoluteJoint
impl Clone for RevoluteJoint
Source§fn clone(&self) -> RevoluteJoint
fn clone(&self) -> RevoluteJoint
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 RevoluteJoint
Source§impl Debug for RevoluteJoint
impl Debug for RevoluteJoint
Source§impl Default for RevoluteJoint
impl Default for RevoluteJoint
Source§impl PartialEq for RevoluteJoint
impl PartialEq for RevoluteJoint
impl StructuralPartialEq for RevoluteJoint
Auto Trait Implementations§
impl Freeze for RevoluteJoint
impl RefUnwindSafe for RevoluteJoint
impl Send for RevoluteJoint
impl Sync for RevoluteJoint
impl Unpin for RevoluteJoint
impl UnsafeUnpin for RevoluteJoint
impl UnwindSafe for RevoluteJoint
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