pub struct PrismaticJoint {Show 27 fields
pub perp_impulse: Vec2,
pub angular_impulse: Vec3,
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_force: f32,
pub motor_speed: f32,
pub target_translation: f32,
pub lower_translation: f32,
pub upper_translation: f32,
pub index_a: i32,
pub index_b: i32,
pub frame_a: Transform,
pub frame_b: Transform,
pub joint_axis: Vec3,
pub perp_axis_y: Vec3,
pub perp_axis_z: Vec3,
pub delta_center: Vec3,
pub delta_angle: f32,
pub rotation_mass: Matrix3,
pub spring_softness: Softness,
pub enable_spring: bool,
pub enable_limit: bool,
pub enable_motor: bool,
}Expand description
(b3PrismaticJoint)
Fields§
§perp_impulse: Vec2§angular_impulse: Vec3§spring_impulse: f32§motor_impulse: f32§lower_impulse: f32§upper_impulse: f32§hertz: f32§damping_ratio: f32§max_motor_force: f32§motor_speed: f32§target_translation: f32§lower_translation: f32§upper_translation: f32§index_a: i32§index_b: i32§frame_a: Transform§frame_b: Transform§joint_axis: Vec3§perp_axis_y: Vec3§perp_axis_z: Vec3§delta_center: Vec3§delta_angle: f32§rotation_mass: Matrix3§spring_softness: Softness§enable_spring: bool§enable_limit: bool§enable_motor: boolTrait Implementations§
Source§impl Clone for PrismaticJoint
impl Clone for PrismaticJoint
Source§fn clone(&self) -> PrismaticJoint
fn clone(&self) -> PrismaticJoint
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 PrismaticJoint
Source§impl Debug for PrismaticJoint
impl Debug for PrismaticJoint
Source§impl Default for PrismaticJoint
impl Default for PrismaticJoint
Source§impl PartialEq for PrismaticJoint
impl PartialEq for PrismaticJoint
impl StructuralPartialEq for PrismaticJoint
Auto Trait Implementations§
impl Freeze for PrismaticJoint
impl RefUnwindSafe for PrismaticJoint
impl Send for PrismaticJoint
impl Sync for PrismaticJoint
impl Unpin for PrismaticJoint
impl UnsafeUnpin for PrismaticJoint
impl UnwindSafe for PrismaticJoint
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