[][src]Struct physx::articulation_joint_reduced_coordinate::ArticulationJointReducedCoordinate

#[repr(transparent)]pub struct ArticulationJointReducedCoordinate { /* fields omitted */ }

PxArticulationJointReducedCoordinate new type wrapper.

Implementations

impl ArticulationJointReducedCoordinate[src]

pub fn set_drive_target(&mut self, rot: f32, axis: ArticulationAxis)[src]

Set target angle around axis for this joint

pub fn set_joint_type(&mut self, joint_type: ArticulationJointType)[src]

Set the Joint type.

pub fn get_joint_type(&self) -> ArticulationJointType[src]

Get the joint type.

pub fn set_limit(&mut self, axis: ArticulationAxis, min: f32, max: f32)[src]

Set motion limits for Axis

pub fn set_drive(
    &mut self,
    axis: ArticulationAxis,
    stiffness: f32,
    damping: f32,
    max_force: f32,
    drive_type: ArticulationDriveType
)
[src]

set drive type of the associated joints

pub fn set_motion(&mut self, axis: ArticulationAxis, motion: ArticulationMotion)[src]

Set the ArticulationMotion for an axis.

Trait Implementations

impl Class<PxArticulationBase> for ArticulationJointReducedCoordinate[src]

impl Class<PxArticulationJointReducedCoordinate> for ArticulationJointReducedCoordinate[src]

impl Class<PxBase> for ArticulationJointReducedCoordinate[src]

impl Send for ArticulationJointReducedCoordinate[src]

impl Sync for ArticulationJointReducedCoordinate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Base for T where
    T: Class<PxBase>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.