pub trait TnuaBasisWithFloating: TnuaBasis {
// Required method
fn float_height(access: &TnuaBasisAccess<'_, Self>) -> Float;
}Expand description
The basis is a floating character controller.
Required Methods§
Sourcefn float_height(access: &TnuaBasisAccess<'_, Self>) -> Float
fn float_height(access: &TnuaBasisAccess<'_, Self>) -> Float
The height the basis is configured to float at, measured from the ground to the center of the character collider.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.