Jump to content
Tiberius_161

How to get the distance between objects over multiple axis?

Recommended Posts

Hi all,

Is it possible in ArmA to get the distance between two objects divided into two axis, relative to a known direction? 

 

The picture below shows what I mean:

 

Link to picture

 

What I am trying to achieve is the distance between two objects spread over 'line a' and 'line b'.

I am at a guess on how to start figuring this out. 

 

Any tips and or tricks are highly appreciated. 

 

Cheers

Tiberius

Share this post


Link to post
Share on other sites
50 minutes ago, Tiberius_161 said:

Hi all,

Is it possible in ArmA to get the distance between two objects divided into two axis, relative to a known direction? 

 

The picture below shows what I mean:

 

Link to picture

 

What I am trying to achieve is the distance between two objects spread over 'line a' and 'line b'.

I am at a guess on how to start figuring this out. 

 

Any tips and or tricks are highly appreciated. 

 

Cheers

Tiberius

 

Have a look at vectorDiff

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

×