Function physx_sys::PxController_setPosition_mut
source · pub unsafe extern "C" fn PxController_setPosition_mut(
self_: *mut PxController,
position: *const PxExtendedVec3
) -> bool
Expand description
Sets controller’s position.
The position controlled by this function is the center of the collision shape.
This is a ‘teleport’ function, it doesn’t check for collisions.
The character’s position must be such that it does not overlap the static geometry.
To move the character under normal conditions use the move
function.
Currently always returns true.