[−][src]Trait physx::controller::Controller
Associated Types
type UserData
[src]
type Descriptor: Class<PxControllerDesc>
[src]
Provided methods
pub fn get_user_data(&self) -> &Self::UserData
[src]
Retrieve the user data from the controller.
pub fn set_user_data(&mut self, user_data: Self::UserData) -> &mut Self
[src]
Sets the controllers user data. If U is larger than a *mut _, it is heap allocated in a box. Otherwise, it is packed directly into the *mut c_void userData field.
pub fn set_position(&mut self, position: impl Into<PxExtendedVec3>)
[src]
Set the position of teh controller
pub fn get_position(&self) -> PxVec3
[src]
Get the position of the controller.