[][src]Function smash::app::lua_bind::KineticModule::get_sum_speed3f

pub unsafe extern "C" fn get_sum_speed3f(
    arg1: *mut BattleObjectModuleAccessor,
    arg2: c_int
) -> Vector3f

Returns the current velocity based on the specified kinetic energy attribute as a Vector3f

Arguments

Example

// get current velocity as a Vector3f
let vel_3f = KineticModule::get_sum_speed3f(module_accessor, *KINETIC_ENERGY_RESERVE_ATTRIBUTE_MAIN);