pub trait ICharacterMoveMethods: ICharacterMove {
Show 22 methods
// Provided methods
fn get_cp(self) -> Character { ... }
fn get_max_run_speed(self) -> f32 { ... }
fn set_max_run_speed(self, value: impl Into<f32>) { ... }
fn get_acceleration(self) -> f32 { ... }
fn get_deceleration(self) -> f32 { ... }
fn stabilize(self) { ... }
fn awake(self) { ... }
fn late_update(self) { ... }
fn warp_to(self, goal: impl Into<FXZ>) { ... }
fn run_to(
self,
goal: impl Into<FXZ>,
mode: impl Into<CharacterMove_StartMode>,
) { ... }
fn run_to_2(self, goal: impl Into<FXZ>, from_max_speed: impl Into<bool>) { ... }
fn jump_to(
self,
goal: impl Into<Vector3>,
duration: impl Into<f32>,
is_grounding: impl Into<bool>,
) { ... }
fn jump_to_2(
self,
target: impl Into<Transform>,
ev: impl Into<AnimationEvent>,
) { ... }
fn brake(self) { ... }
fn stop(self) { ... }
fn update_moving(self) { ... }
fn update_run(self) { ... }
fn update_run_brake(self) { ... }
fn advance_time_and_get_dt(self) -> f32 { ... }
fn update_jump(self) { ... }
fn calc_time_to_arrive(
self,
dist: impl Into<f32>,
run_max_speed: impl Into<bool>,
) -> f32 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_max_run_speed(self) -> f32
fn get_max_run_speed(self) -> f32
get_MaxRunSpeed() overload
Sourcefn set_max_run_speed(self, value: impl Into<f32>)
fn set_max_run_speed(self, value: impl Into<f32>)
set_MaxRunSpeed(f32) overload
Sourcefn get_acceleration(self) -> f32
fn get_acceleration(self) -> f32
get_Acceleration() overload
Sourcefn get_deceleration(self) -> f32
fn get_deceleration(self) -> f32
get_Deceleration() overload
Sourcefn late_update(self)
fn late_update(self)
LateUpdate() overload
Sourcefn run_to(self, goal: impl Into<FXZ>, mode: impl Into<CharacterMove_StartMode>)
fn run_to(self, goal: impl Into<FXZ>, mode: impl Into<CharacterMove_StartMode>)
RunTo(crate::combat::fxz::FXZ, crate::combat::charactermove::CharacterMove_StartMode) overload
Sourcefn run_to_2(self, goal: impl Into<FXZ>, from_max_speed: impl Into<bool>)
fn run_to_2(self, goal: impl Into<FXZ>, from_max_speed: impl Into<bool>)
RunTo(crate::combat::fxz::FXZ, bool) overload
Sourcefn jump_to(
self,
goal: impl Into<Vector3>,
duration: impl Into<f32>,
is_grounding: impl Into<bool>,
)
fn jump_to( self, goal: impl Into<Vector3>, duration: impl Into<f32>, is_grounding: impl Into<bool>, )
JumpTo(crate::unity_engine::vector3::Vector3, f32, bool) overload
Sourcefn jump_to_2(self, target: impl Into<Transform>, ev: impl Into<AnimationEvent>)
fn jump_to_2(self, target: impl Into<Transform>, ev: impl Into<AnimationEvent>)
JumpTo(crate::unity_engine::transform::Transform, crate::unity_engine::animationevent::AnimationEvent) overload
Sourcefn update_moving(self)
fn update_moving(self)
UpdateMoving() overload
Sourcefn update_run(self)
fn update_run(self)
UpdateRun() overload
Sourcefn update_run_brake(self)
fn update_run_brake(self)
UpdateRunBrake() overload
Sourcefn advance_time_and_get_dt(self) -> f32
fn advance_time_and_get_dt(self) -> f32
AdvanceTimeAndGetDT() overload
Sourcefn update_jump(self)
fn update_jump(self)
UpdateJump() overload
Sourcefn calc_time_to_arrive(
self,
dist: impl Into<f32>,
run_max_speed: impl Into<bool>,
) -> f32
fn calc_time_to_arrive( self, dist: impl Into<f32>, run_max_speed: impl Into<bool>, ) -> f32
CalcTimeToArrive(f32, bool) overload
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.
Implementors§
impl<__T: ICharacterMove> ICharacterMoveMethods for __T
Available on crate feature
combat-charactermove only.