Fairly beginner - working with an FPS character controller trying to add force towards an object the player throws.
Currently when you press 'e', the player throws a cube in the direction the player is looking.
When the player presses 'e' again, I want the player to have force applied in the direction the cube is in, like they're being pulled towards it.
ie, if you throw the cube in the air and press 'e' again, the player is pulled towards it.
The cube is then returned to the player and they can repeat the action.
I know there must be a simple solution to it, though being a beginner I just can't figure out how to use the direction of the cube from the player as the direction of the Add Force.