Arma 3
7erra's Editing Extensions
Vagrant 5 Sep, 2022 @ 6:37am
attachTo Finder
I absolutely love this tool. My only complaint is that the vectorDirAndUp portion does not appear to be accurate anymore, most often I'm seeing the object off by 90 degrees or facing the wrong direction.

Is there anyway to check this and potentially update a fix?

Thank you!
< >
Showing 1-2 of 2 comments
Mildly_Interested 14 Sep, 2022 @ 9:31am 
Encountered the same issue, either BI changed something in the code or it was broken from the start.
Here's how to fix it: Spawn in the base object facing exactly north (3den utilites to orient north) so now the rotation reference frame of your editor matches the reference frame of your base object, move your object to the correct spot and apply your rotation. If its titled 90 degrees to the wrong side try orienting the base objects west or east, if its tilted wrong by 180 degrees orient base vehicle south.


Technical explanation: The reported DIRandUP vectors from the attachto helper are relative to your editors frame of reference, but once they get applied via your code they are relative to the objects frame of reference. If the objects is facing north both the editors and base objects base vectors are facing the same way (albeit offset but thats irrelevant for rotation).
Last edited by Mildly_Interested; 14 Sep, 2022 @ 9:40am
Vagrant 27 Mar, 2023 @ 12:17pm 
Originally posted by Mildly_Interested:
Encountered the same issue, either BI changed something in the code or it was broken from the start.
Here's how to fix it: Spawn in the base object facing exactly north (3den utilites to orient north) so now the rotation reference frame of your editor matches the reference frame of your base object, move your object to the correct spot and apply your rotation. If its titled 90 degrees to the wrong side try orienting the base objects west or east, if its tilted wrong by 180 degrees orient base vehicle south.


Technical explanation: The reported DIRandUP vectors from the attachto helper are relative to your editors frame of reference, but once they get applied via your code they are relative to the objects frame of reference. If the objects is facing north both the editors and base objects base vectors are facing the same way (albeit offset but thats irrelevant for rotation).

Late reply, but this is awesome. Thanks for the info friend!:steamthumbsup:
< >
Showing 1-2 of 2 comments
Per page: 1530 50