Greetings,
I am making an fps game, and I wanted to get opinions and a couple explanations. I am currently working on the shooting mechanics and I have the option to use prefabs and use collisions to detect objects, but I was thinking this might use too much computing power or might not be efficient, option two is that I should use a line render, however with the line render, it lags in its position relative to the gun and if i wanted minimal lag I would have to keep the Line Render on the entire game. So I would like to know what you think? Please state a reason
I didnt relly understand the goal youre trying to reach, but if youre trying to shoot something and detect, what you shot:
I orefer using raycasts, because its fairly efficient, and user friendly, because they dont have to deal with gravity
If this wasnt what you meant, then my answee could be incorrect
I still cant understand, what youre trying to reach with either of those, but maybe Im sliw at 2 pm, could you explain it, what youre planning to do? Shootijg a gun, moving a player, checking if the player is on ground?