Hey there, I’m looking to create an fps shooter where all the raycasts shot from guns last an infinitely long time rather than for one single frame. For example if the player or enemy was to walk into a raycast 60 frames after it was cast it should still effect the game object as intended if it was hit directly on that frame. Is this possible in Unity and if so where do I get started in doing this?
I’ve had the idea to turn the raycast line itself into a physical collider or a game object but I have no idea how to do this.
Also been thinking about the possibility of tracking the players and enemies movement is a way similar to the old 2d Snake game where the “trails” of where they’ve been last forever, and work as a simple wall, is this too also possible?
Big thanks ![]()