Skip to main content

ICharacterMoveMethods

Trait ICharacterMoveMethods 

Source
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§

Source

fn get_cp(self) -> Character

get_CP() overload

Source

fn get_max_run_speed(self) -> f32

get_MaxRunSpeed() overload

Source

fn set_max_run_speed(self, value: impl Into<f32>)

set_MaxRunSpeed(f32) overload

Source

fn get_acceleration(self) -> f32

get_Acceleration() overload

Source

fn get_deceleration(self) -> f32

get_Deceleration() overload

Source

fn stabilize(self)

Stabilize() overload

Source

fn awake(self)

Awake() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn warp_to(self, goal: impl Into<FXZ>)

WarpTo(crate::combat::fxz::FXZ) overload

Source

fn run_to(self, goal: impl Into<FXZ>, mode: impl Into<CharacterMove_StartMode>)

RunTo(crate::combat::fxz::FXZ, crate::combat::charactermove::CharacterMove_StartMode) overload

Source

fn run_to_2(self, goal: impl Into<FXZ>, from_max_speed: impl Into<bool>)

RunTo(crate::combat::fxz::FXZ, bool) overload

Source

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

Source

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

Source

fn brake(self)

Brake() overload

Source

fn stop(self)

Stop() overload

Source

fn update_moving(self)

UpdateMoving() overload

Source

fn update_run(self)

UpdateRun() overload

Source

fn update_run_brake(self)

UpdateRunBrake() overload

Source

fn advance_time_and_get_dt(self) -> f32

AdvanceTimeAndGetDT() overload

Source

fn update_jump(self)

UpdateJump() overload

Source

fn calc_time_to_arrive( self, dist: impl Into<f32>, run_max_speed: impl Into<bool>, ) -> f32

CalcTimeToArrive(f32, bool) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: ICharacterMove> ICharacterMoveMethods for __T

Available on crate feature combat-charactermove only.