You need to consider objects projected at an angle also.
The velocity component can be separated into horizontal and vertical components:
Vertical component of velocity = Vsinø
Horizontal component of velocity = Vcosø