#[repr(i32)]pub enum PxArticulationDriveType {
Force = 0,
Acceleration = 1,
Target = 2,
Velocity = 3,
None = 4,
}Variants§
Force = 0
The output of the implicit spring drive controller is a force/torque.
Acceleration = 1
The output of the implicit spring drive controller is a joint acceleration (use this to get (spatial)-inertia-invariant behavior of the drive).
Target = 2
Sets the drive gains internally to track a target position almost kinematically (i.e. with very high drive gains).
Velocity = 3
Sets the drive gains internally to track a target velocity almost kinematically (i.e. with very high drive gains).
None = 4
Trait Implementations§
Source§impl Clone for PxArticulationDriveType
impl Clone for PxArticulationDriveType
Source§fn clone(&self) -> PxArticulationDriveType
fn clone(&self) -> PxArticulationDriveType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PxArticulationDriveType
impl Debug for PxArticulationDriveType
Source§impl PartialEq for PxArticulationDriveType
impl PartialEq for PxArticulationDriveType
impl Copy for PxArticulationDriveType
impl Eq for PxArticulationDriveType
impl StructuralPartialEq for PxArticulationDriveType
Auto Trait Implementations§
impl Freeze for PxArticulationDriveType
impl RefUnwindSafe for PxArticulationDriveType
impl Send for PxArticulationDriveType
impl Sync for PxArticulationDriveType
impl Unpin for PxArticulationDriveType
impl UnwindSafe for PxArticulationDriveType
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