Arma 3
7erra's Editing Extensions
Vagrant 5. sep. 2022 kl. 6:37
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!
< >
Viser 1-2 af 2 kommentarer
Mildly_Interested 14. sep. 2022 kl. 9:31 
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).
Sidst redigeret af Mildly_Interested; 14. sep. 2022 kl. 9:40
Vagrant 27. mar. 2023 kl. 12:17 
Oprindeligt skrevet af 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:
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50