Hi guys. Im making a 2D game in unity and have encountered my final problem. I would like my life bars to move along with the camera when it moves. I’ve thought of a way to do it but there surely should be an easier method.
My idea is to calculate the difference in distance(Using vector2) between the camera and the life objects once they’re instantiated and then just keep that distance constant. Does anyone have an easier solution?