pub struct PxControllerRef(/* private fields */);Implementations§
Source§impl PxControllerRef
impl PxControllerRef
pub fn move_controller( &self, displacement: Vec3, min_dist: f32, elapsed_time: f32, filters: &PxControllerFilters, obstacles: Option<&PxObstacleContext>, ) -> PxControllerCollisionFlag
pub fn get_position(&self) -> DVec3
pub fn set_position(&self, pos: DVec3)
pub fn get_foot_position(&self) -> DVec3
pub fn set_foot_position(&self, pos: DVec3)
pub fn get_actor(&self) -> PxRigidDynamicRef
pub fn release(self)
Trait Implementations§
Source§impl Clone for PxControllerRef
impl Clone for PxControllerRef
Source§fn clone(&self) -> PxControllerRef
fn clone(&self) -> PxControllerRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PxControllerRef
impl Send for PxControllerRef
impl Sync for PxControllerRef
Auto Trait Implementations§
impl Freeze for PxControllerRef
impl RefUnwindSafe for PxControllerRef
impl Unpin for PxControllerRef
impl UnwindSafe for PxControllerRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more