pub trait DynamicBasis:
Send
+ Sync
+ Any
+ 'static {
// Required methods
fn proximity_sensor_cast_range(&self) -> Float;
fn displacement(&self) -> Option<Vector3>;
fn effective_velocity(&self) -> Vector3;
fn vertical_velocity(&self) -> Float;
fn neutralize(&mut self);
fn is_airborne(&self) -> bool;
}
Expand description
Helper trait for accessing a basis and its trait with dynamic dispatch.
Required Methods§
Sourcefn proximity_sensor_cast_range(&self) -> Float
fn proximity_sensor_cast_range(&self) -> Float
Dynamically invokes TnuaBasis::proximity_sensor_cast_range
.
Sourcefn displacement(&self) -> Option<Vector3>
fn displacement(&self) -> Option<Vector3>
Dynamically invokes TnuaBasis::displacement
.
Sourcefn effective_velocity(&self) -> Vector3
fn effective_velocity(&self) -> Vector3
Dynamically invokes TnuaBasis::effective_velocity
.
Sourcefn vertical_velocity(&self) -> Float
fn vertical_velocity(&self) -> Float
Dynamically invokes TnuaBasis::vertical_velocity
.
Sourcefn neutralize(&mut self)
fn neutralize(&mut self)
Dynamically invokes TnuaBasis::neutralize
.
Sourcefn is_airborne(&self) -> bool
fn is_airborne(&self) -> bool
Dynamically invokes TnuaBasis::is_airborne
.