Trait physx::articulation::Articulation [−][src]
Provided methods
unsafe fn from_raw(
ptr: *mut PxArticulation,
user_data: Self::UserData
) -> Option<Owner<Self>>
[src]
ptr: *mut PxArticulation,
user_data: Self::UserData
) -> Option<Owner<Self>>
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.
fn get_user_data(&self) -> &Self::UserData
[src]
Get a reference to the user data.
fn get_user_data_mut(&mut self) -> &mut Self::UserData
[src]
Get a mutable reference to the user data.
fn apply_impulse(
&mut self,
link: &mut Self::ArticulationLink,
cache: &PxArticulationDriveCache,
linear_impulse: &PxVec3,
angular_impulse: &PxVec3
)
[src]
&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
[src]
&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>
[src]
&self,
compliance: f32,
drive_iterations: u32
) -> Option<&mut PxArticulationDriveCache>
fn update_drive_cache(
&self,
cache: &mut PxArticulationDriveCache,
compliance: f32,
iterations: u32
)
[src]
&self,
cache: &mut PxArticulationDriveCache,
compliance: f32,
iterations: u32
)