Ok, so this is for a goofy map, but my problem is driving me nuts.
I'm trying to have a certain model move around the map, rotating and shooting the laser along a set path, shooting out until it hits a brush and stops. I can do the movement and rotation and all that just fine, that part is easy enough.
The part I'm looking for is the above bolded section. I want it to cut itself shorter as it hits geometry, so it doesn't go past it. Tracking the end to the surface isn't really an option due to the complex movement I want it to do. I have tried env_laser and env_beam, but both behave the same way, just going from point a to point b, regardless of geometry.
I feel like this should be something that is really easy to do with a game engine. Anyone have any ideas?
I'm trying to have a certain model move around the map, rotating and shooting the laser along a set path, shooting out until it hits a brush and stops. I can do the movement and rotation and all that just fine, that part is easy enough.
The part I'm looking for is the above bolded section. I want it to cut itself shorter as it hits geometry, so it doesn't go past it. Tracking the end to the surface isn't really an option due to the complex movement I want it to do. I have tried env_laser and env_beam, but both behave the same way, just going from point a to point b, regardless of geometry.
I feel like this should be something that is really easy to do with a game engine. Anyone have any ideas?