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

pub unsafe extern "C" fn mul_speed(
    arg1: *mut BattleObjectModuleAccessor,
    arg2: *const Vector3f,
    arg3: c_int
) -> u64

multiplies the current (specified type of) speed by the provided vector3f

Arguments

Example

// halt all vertical speed --
let stop_rise  = smash::phx::Vector3f { x: 1.0, y: 0.0, z: 1.0 };
KineticModule::mul_speed(module_accessor, &stop_rise, *FIGHTER_KINETIC_ENERGY_ID_GRAVITY);