If You know or ever heard about Half-Life’s Zero-Point Energy Field Manipulator (known as Gravity Gun) then You should became familiar with this small project.
The beam that shoots out of the gun starts/stops a bit to abrupt. Maybe add a very short ‘warm-up’ and ‘after burn’ effect so it looks a bit more realistic.
Were you going for a replica or just a design of your own? I think it would be cool if the model of the gun resembles the model of the gun in Half-Life.
Maybe add a slot where the user can input their own crosshairs
Yes, the beam (LineRenderer) was added lately and doesn’t work correctly. The energy beam should rather travel in space (from the gun to the target) for some very short amount of time than just blink like an laser.
I’d like to create the gun model very close to the weapon of Half Life. But if I find some free time then I will try to prepare at least one own construction.
Well, I thought that crosshairs are related more to the weapon system used in particular project. My gun script takes Camera as one of it’s public parameters and uses this camera to raycast target hit point. The weapon system (outside of gun script) is responsible for correct showing crosshairs.
But now I start thinking that it could be nice feature when every weapon type could have different crosshair.
Thank You alexanderameye, I’ll consider Your suggestions.
It’s been a while since I last worked on this project - mainly because of the intensity of my professional work and rebuilding my home page (http://healthbargames.pl). In the meantime I also created a fanpage on facebook (Redirecting...) - for now it serves mainly as a source of quick news.
First, however, I would like to complete the project of gravity weapons. That is why I recently started modeling gun based on original Half-Life models and other references.
As for the scripts (code), I have to rewrite some of the features.
I will also try to implement your suggestions that have been made so far and those that can still be found.
I encourage you to comment and checking out my social channels linked below.