Arma 3

Arma 3

7erra's Editing Extensions
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!
< >
Zobrazuje se 12 z 2 komentářů
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).
Naposledy upravil Mildly_Interested; 14. zář. 2022 v 9.40
Mildly_Interested původně napsal:
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:
< >
Zobrazuje se 12 z 2 komentářů
Na stránku: 1530 50