Make two objects move with the same acceleration on different axis

Hey, I’m working on a project that shoots an object when the space bar is presed, at the same time an object suspended in the air must fall.

For the time being what I’ve been doing is once the space bar is pressed I activate gravity, which was good enough at the time, but what I need know is for the second object to fall at the same acceleration as the other object movies.

The first object moves horizontally on the -X axis, and the second object falls in the -Y axis.

Have been experimenting with some stuff but haven’t been able to make it work.

The first object is hit with a force that makes it accelerated, optimally what I want is to get the acceleration value and just apply it to the other object.

What script are you using to move the first object?