Conversation
mharis001
left a comment
There was a problem hiding this comment.
Interesting functionality. Just some initial thoughts.
|
Thanks for the initial feedback! Can you maybe provide feedback on following question too?
|
|
| private _azimuthToStart = _endPos getDir _startPos; | ||
| private _azimuthToEnd = _startPos getDir _endPos; |
There was a problem hiding this comment.
Should this be the relative direction?
There was a problem hiding this comment.
This is the direction from start to end pos and end to start. Both _startPos and _endPos are PosASL. I don't understand the relative part in your question.
There was a problem hiding this comment.
IIRC, when attached to objects the direction value being displayed did not seem intuitive. If that makes sense.
There was a problem hiding this comment.
Need to check what you mean. It should show the same value as the unit just opening their compass.
There was a problem hiding this comment.
I guess it just comes to whether we want to know that the position is 90 degrees relative to the vehicle or just the difference in their bearings. The former what what I assumed the value was.
There was a problem hiding this comment.
What purpose does relative bearing w.r.t. the attached unit have to the Zeus or any unit on the ground? I understand if you want the direction as a relative clock, but I have never given or received relative bearing. For artillery corrections, you also don't use relative directions.
|
Should we only allow attaching one plot at a time for now? I honestly don't have a better solution. |
|
Push |
Currently, I only implemented km/h as speed format. The toggle switch is there if anyone wants to add a custom speed format. I don't know if it makes sense to add mph or knots as speed formats? |
|
I thought I had seen MPH, but I was mistaken, so makes sense for just KM/H |
When merged this pull request will:
This feature is meant to help the user measure distances and directions. The start and end positions can be either static or attached to an object, where the values are then updated dynamically. The user can toggle between different distance, speed, and azimuth formats. More formatters can be defined in
class zen_plotting_formatters. The color can be changed in the CBA settings. Plotting is possible in 3D or on the map.arma_plotting.mp4
TODO
Optimize drawing (do not draw if outside screen)The overhead of checking if the positions are in view is too high ~2x perf decreaseHandle text rendering when attaching multiple plots to objectsLimited to one end point for a unit at a time