entity_get_vector(id, EV_VEC_velocity, fVelocity); fVelocity[1] = 0.0; fVelocity[2] = 0.0; entity_set_vector(id,EV_VEC_velocity, fVelocity)