武装突袭3

武装突袭3

7erra's Editing Extensions
Vagrant 2022 年 9 月 5 日 上午 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!
< >
正在显示第 1 - 2 条,共 2 条留言
Mildly_Interested 2022 年 9 月 14 日 上午 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).
最后由 Mildly_Interested 编辑于; 2022 年 9 月 14 日 上午 9:40
Vagrant 2023 年 3 月 27 日 下午 12:17 
引用自 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:
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50