pub trait Articulation: Class<PxArticulation> + ArticulationBase + UserData {
Show 16 methods unsafe fn from_raw(
        ptr: *mut PxArticulation,
        user_data: Self::UserData
    ) -> Option<Owner<Self>> { ... } fn get_user_data(&self) -> &Self::UserData { ... } fn get_user_data_mut(&mut self) -> &mut Self::UserData { ... } fn apply_impulse(
        &mut self,
        link: &mut Self::ArticulationLink,
        cache: &PxArticulationDriveCache,
        linear_impulse: &PxVec3,
        angular_impulse: &PxVec3
    ) { ... } fn compute_impulse_response(
        &self,
        link: &mut Self::ArticulationLink,
        cache: &PxArticulationDriveCache,
        linear_impulse: &PxVec3,
        angular_impulse: &PxVec3
    ) -> ImpulseResponse { ... } fn create_drive_cache(
        &self,
        compliance: f32,
        drive_iterations: u32
    ) -> Option<&mut PxArticulationDriveCache> { ... } fn update_drive_cache(
        &self,
        cache: &mut PxArticulationDriveCache,
        compliance: f32,
        iterations: u32
    ) { ... } fn get_external_drive_iterations(&self) -> u32 { ... } fn get_internal_drive_iterations(&self) -> u32 { ... } fn get_max_projection_iterations(&self) -> u32 { ... } fn get_separation_tolerance(&self) -> f32 { ... } fn release_drive_cache(&self, cache: &mut PxArticulationDriveCache) { ... } fn set_external_drive_iterations(&mut self, iterations: u32) { ... } fn set_internal_drive_iterations(&mut self, iterations: u32) { ... } fn set_max_projection_iterations(&mut self, iterations: u32) { ... } fn set_separation_tolerance(&mut self, tolerance: f32) { ... }
}

Provided Methods

Safety

Owner’s own the pointer they wrap, using the pointer after dropping the Owner, or creating multiple Owners from the same pointer will cause UB. Use into_ptr to retrieve the pointer and consume the Owner without dropping the pointee. All construction of this object must initialize user data.

Get a reference to the user data.

Get a mutable reference to the user data.

Implementors