Trait physx::articulation_base::ArticulationBase [−][src]
Associated Types
Loading content...Provided methods
fn set_solver_iteration_counts(
&mut self,
min_position_iters: u32,
min_velocity_iters: u32
)
[src]
&mut self,
min_position_iters: u32,
min_velocity_iters: u32
)
Sets the number of iterations the solver should perform. If the articulation is behaving erratically, increasing the iteration counts may improve stability.
fn get_solver_iteration_counts(&self) -> (u32, u32)
[src]
Get the number of (position, velocity) iterations the solver will perform.
fn is_sleeping(&self) -> bool
[src]
Check if the articulation is sleeping
fn set_sleep_threshold(&mut self, threshold: f32)
[src]
Set the inactivity threshold for sleeping this articulation
fn get_sleep_threshold(&self) -> f32
[src]
Read back the inactivity threshold
fn set_stabilization_threshold(&mut self, threshold: f32)
[src]
Set the stabilization threshold for this articulation
fn get_stabilization_threshold(&self) -> f32
[src]
Get the stabilization threshold for this articulation
fn set_wake_counter(&mut self, threshold: f32)
[src]
Set the counter for how many steps more the articulation will be awake if below the energy threshold. When this is non-zero, the articulation may sleep but is not required to do so depending on other factors.
fn get_wake_counter(&self) -> f32
[src]
Get the counter for how many steps more the agent will be awake if below the energy threshold.
fn wake_up(&mut self)
[src]
Wake up the articulation
fn put_to_sleep(&mut self)
[src]
Put the articulation to sleep immediately
fn get_nb_links(&self) -> usize
[src]
Get the total number of links on this articulation
fn root_link(&self) -> Option<&Self::ArticulationLink>
[src]
Get a reference the root link of this articulation if it has one
fn root_link_mut(&mut self) -> Option<&mut Self::ArticulationLink>
[src]
Get a mutable reference to the root link of this articulation if it has one
fn get_links(&self) -> Vec<&Self::ArticulationLink>
[src]
Get a vec of all the links
fn get_links_mut(&mut self) -> Vec<&mut Self::ArticulationLink>
[src]
Get a mutable vec of all the links
fn get_world_bounds(&self, inflation: f32) -> PxBounds3
[src]
Get the world bounds of this articulation
fn create_link(
&mut self,
parent: Option<&mut Self::ArticulationLink>,
pose: &PxTransform,
user_data: <Self::ArticulationLink as UserData>::UserData
) -> Option<&mut Self::ArticulationLink>
[src]
&mut self,
parent: Option<&mut Self::ArticulationLink>,
pose: &PxTransform,
user_data: <Self::ArticulationLink as UserData>::UserData
) -> Option<&mut Self::ArticulationLink>
Add a link to this articulation
fn create_articulation_joint<J: ArticulationJointBase>(
&mut self,
parent: &mut Self::ArticulationLink,
parent_frame: &PxTransform,
child: &mut Self::ArticulationLink,
child_frame: &PxTransform
) -> Option<&mut J>
[src]
&mut self,
parent: &mut Self::ArticulationLink,
parent_frame: &PxTransform,
child: &mut Self::ArticulationLink,
child_frame: &PxTransform
) -> Option<&mut J>
Create a joint between two articulation Links
unsafe fn release_articulation_joint(
&mut self,
joint: &mut impl ArticulationJointBase
)
[src]
&mut self,
joint: &mut impl ArticulationJointBase
)
Release an articulation joint, freeing it.
Safety
attempting to use the joint after this call is invalid.
Implementors
impl<T, C> ArticulationBase for ArticulationMap<T, C> where
T: Articulation,
C: ArticulationReducedCoordinate,
[src]
T: Articulation,
C: ArticulationReducedCoordinate,