pub enum ArticulationDriveType {
Force,
Acceleration,
Target,
Velocity,
None,
}
Variants§
Force
The output of the implicit spring drive controller is a force/torque.
Acceleration
The output of the implicit spring drive controller is a joint acceleration (use this to get (spatial)-inertia-invariant behavior of the drive).
Target
Sets the drive gains internally to track a target position almost kinematically (i.e. with very high drive gains).
Velocity
Sets the drive gains internally to track a target velocity almost kinematically (i.e. with very high drive gains).
None
Trait Implementations§
source§impl Clone for PxArticulationDriveType
impl Clone for PxArticulationDriveType
source§fn clone(&self) -> PxArticulationDriveType
fn clone(&self) -> PxArticulationDriveType
Returns a copy 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<PxArticulationDriveType> for PxArticulationDriveType
impl PartialEq<PxArticulationDriveType> for PxArticulationDriveType
source§fn eq(&self, other: &PxArticulationDriveType) -> bool
fn eq(&self, other: &PxArticulationDriveType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.