Zelf
Unity aim down sights
Hello, I am currently struggling with some logic in developing my first person shooter on unity. I'm working on getting the gun to aim down sights for different optics without having to manually set a position for each of the available optics the gun can use. Does anyone have any idea on how I can take a point from a child game object (the optic) and have the parent game object (the gun) move so that the child game object is in line with the middle of the screen.
I'm not asking for the code itself, just the logic.
6 replies