Can someone Help me?

I am making an fps game and I need some help on how to make an entity to move to another entity and then move down.I am trying to make the effect of an item coming out of the mystery box-like in cod zombies.

Also whoever helps me plz explain it instead of just giving me a piece of code.