Hi,
I have a player and a cube game object. I want the player to push the cube, but only in one direction. Right now, the cube has a RigidBody that allows the player to push it in every direction, but I only want the cube to be pushed in the direction the player makes contact with the cube. Keep in mind I only want to adjust the x and z-direction, as the y-direction will remain constant.
Thanks,