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

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

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

Arguments

Example

// send the character flying across the screen lol --
let zoom  = smash::phx::Vector3f { x: 10.0, y: 1.0, z: 1.0 };
KineticModule::mul_accel(module_accessor, &zoom, *FIGHTER_KINETIC_ENERGY_ID_ENV_WIND);