Arma 3
7erra's Editing Extensions
Vagrant 5 Thg09, 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!
< >
Đang hiển thị 1-2 trong 2 bình luận
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).
Lần sửa cuối bởi Mildly_Interested; 14 Thg09, 2022 @ 9:40am
Vagrant 27 Thg03, 2023 @ 12:17pm 
Nguyên văn bởi 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:
< >
Đang hiển thị 1-2 trong 2 bình luận
Mỗi trang: 1530 50