Jump to content
Luft08

Getting a polygon from a fence

Recommended Posts

I need to determine which side of the East/West German border a player is located on the Weferlingen summer map. I don't want the East Germans shooting across the border. At first I though I would use triggers but it takes a LOT of triggers to get the granularity I need. So I though I would bite the bullet and do some kind of ray trace and count the number of times the ray crosses the fence line. Odd number and they are valid targets, even and they are safe. However I don't know how to define the polygon from the fence/wall. Can code be written to do that automatically or must I painstakingly define each point by hand?

 

Thanks

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×