TPS: Muzzle boom to collision tracked by crosshair

LoftyRobot
Mon, 29 Oct 2018 07:10:32 +0000
UI

Is it possible to put a boom from the end of a barrel that extends to first collision (or set distance if not collision) and then have a crosshair move about the screen tracking it?

I am creating a TPS and I am wanting to also swap camera from left to right shoulder which I have figured out, but this causes issues with my crosshair and my above question is how I would like to go about resolving it, if possible.

Thanks!

4 posts - 1 participant