code: public boolean requestMoveVelocity(int idx, float[] vel) {
          if (idx < 0 || idx >= m_maxAgents) {
              return false;
          }
  
          CrowdAgent ag = m_agents[idx];
  
          // Initialize request.
          ag.targetRef = 0;
          vCopy(ag.targetPos, vel);
          ag.targetPathqRef = PathQueue.DT_PATHQ_INVALID;
          ag.targetReplan = false;
          ag.targetState = MoveRequestState.DT_CROWDAGENT_TARGET_VELOCITY;
  
          return true;
      }
docs: / @return True if the request was successfully submitted.