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

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

Returns the current y velocity based on the specified kinetic energy attribute

Arguments

Example

// get current y velocity
let y_vel = KineticModule::get_sum_speed_y(module_accessor, *KINETIC_ENERGY_RESERVE_ATTRIBUTE_MAIN);