Skip to main content

IIKSolverAimMethods

Trait IIKSolverAimMethods 

Source
pub trait IIKSolverAimMethods: IIKSolverAim {
    // Provided methods
    fn get_angle(self) -> f32 { ... }
    fn get_transform_axis(self) -> Vector3 { ... }
    fn get_transform_pole_axis(self) -> Vector3 { ... }
    fn on_initiate(self) { ... }
    fn on_update(self) { ... }
    fn get_min_bones(self) -> i32 { ... }
    fn solve(self) { ... }
    fn get_clamped_ik_position(self) -> Vector3 { ... }
    fn rotate_to_target(
        self,
        target_position: impl Into<Vector3>,
        bone: impl Into<IKSolver_Bone>,
        weight: impl Into<f32>,
    ) { ... }
    fn get_local_direction(self) -> Vector3 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_angle(self) -> f32

GetAngle() overload

Source

fn get_transform_axis(self) -> Vector3

get_transformAxis() overload

Source

fn get_transform_pole_axis(self) -> Vector3

get_transformPoleAxis() overload

Source

fn on_initiate(self)

OnInitiate() overload

Source

fn on_update(self)

OnUpdate() overload

Source

fn get_min_bones(self) -> i32

get_minBones() overload

Source

fn solve(self)

Solve() overload

Source

fn get_clamped_ik_position(self) -> Vector3

GetClampedIKPosition() overload

Source

fn rotate_to_target( self, target_position: impl Into<Vector3>, bone: impl Into<IKSolver_Bone>, weight: impl Into<f32>, )

RotateToTarget(crate::unity_engine::vector3::Vector3, crate::root_motion::final_ik::iksolver::IKSolver_Bone, f32) overload

Source

fn get_local_direction(self) -> Vector3

get_localDirection() 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: IIKSolverAim> IIKSolverAimMethods for __T

Available on crate feature root_motion-final_ik-iksolveraim only.