Struct ark_api::world::D6DriveParams
source · [−]Expand description
The parameters for a drive on a D6 joint.
Fields
stiffness: f32
Stiffness of the drive spring: The amount of torque needed to move the joint to its target orientation (not used for velocity drive).
damping: f32
Damping of the drive spring: Tweak to apply damping to the spring to smooth out any oscillations.
force_limit: f32
Force limit: Maximum force/acceleration the drive can apply.
Trait Implementations
sourceimpl Clone for D6DriveParams
impl Clone for D6DriveParams
sourcefn clone(&self) -> D6DriveParams
fn clone(&self) -> D6DriveParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for D6DriveParams
impl Debug for D6DriveParams
sourceimpl ValueConverterTrait<D6DriveParams> for ValueConverter
impl ValueConverterTrait<D6DriveParams> for ValueConverter
sourcefn into_value(v: D6DriveParams) -> Value
fn into_value(v: D6DriveParams) -> Value
Wraps the passed-in value in a Value
enum.
sourcefn from_value(v: &Value) -> D6DriveParams
fn from_value(v: &Value) -> D6DriveParams
Extracts the value from a Value
enum.
impl Copy for D6DriveParams
Auto Trait Implementations
impl RefUnwindSafe for D6DriveParams
impl Send for D6DriveParams
impl Sync for D6DriveParams
impl Unpin for D6DriveParams
impl UnwindSafe for D6DriveParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more