BetterDeadThanZed

markerType

2 posts in this topic

Does markerType = "RECTANGLE"; work in Arma 3? I ask because I'm trying to create a radiation zone that is square and even though the marker appears as square on the map, it seems like it's still using a round radius. Is there a way to define a radiation zone that is a rectangle and has radiation up to the edges of that zone?

Share this post


Link to post
Share on other sites

Hello Zed,

You can use some fancy geometry and trig formulas to calculate this out.

You could also just use the circles and have them overlap each other too.

 

It has been 30+ years for me on this, but here are three starting points for ya!

 

http://stackoverflow.com/questions/1343346/calculate-a-vector-from-the-center-of-a-square-to-edge-based-on-radius

https://www.physicsforums.com/threads/4-points-and-distance-to-middle-of-square.254862/

http://math.stackexchange.com/questions/15580/what-is-average-distance-from-center-of-square-to-some-point

 

Have fun!

:)

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.