EDF custom vehicle rotation doesn't match actual vehicle rotation
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Start by locating the editor resource files mentioned in the report, especially edf and editor_main, and trace how custom vehicle rotations are saved and applied. Compare that with the rotation used when creating a real vehicle through scripting, using the reported x:345, y:180, z:90 values as a reproduction case. Done when both rotations match in the saved map and in game.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Which resource(s) have this problem?
Not sure, edf, editor_main maybe
Describe the bug
The rotation of a custom element represented by a vehicle seems to work differently than the rotation of an actual vehicle.
For example, if I want to use that custom element's rotation to do something with real vehicles, It won't work as expected.
This doesn't happen with all rotations.
To Reproduce
- Define a custom element that is represented by a vehicle, for example:
<element name="customveh" friendlyname="Custom vehicle">
<vehicle editorOnly="true" model="!model!" />
<data name="model" type="vehicleID" default="411" />
<data name="position" type="coord3d" default="0,0,0" />
<data name="rotation" type="coord3d" default="0,0,0" />
</element>
- Place one in a map
- Set it's rotation to x:345 y:180 z:90
- Save the map and play it
- Create a vehicle through scripting and set it's rotation to the same as the custom element in the map file -> Rotations do not match
Expected behavior
If I create a custom element represented by a vehicle it's rotation should match an actual vehicle rotation.
Screenshots
See 'additional context'
Version
1.5.6
Additional context
I made a forum post regarding this problem
https://forum.mtasa.com/topic/117044-possible-editor-bug/
- Ngôn ngữ chính
- Lua
- Star
- 185
- Fork
- 180
- Merge trung bình
- 5 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của multitheftauto/mtasa-resources
-
new resource: map_loaderĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
multitheftauto/mtasa-resources#697 · 7 bình luận · 7 reaction ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
multitheftauto/mtasa-resources#564 · 1 reaction ·
-
editor: LOD_MAP table is missing some LOD modelsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 36/100
-
New features to Map EditorĐang mởenhancement resource:editor
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
multitheftauto/mtasa-resources#388 · 3 reaction ·
-
help wanted waiting for feedback
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
multitheftauto/mtasa-resources#361 · 8 bình luận · 8 reaction ·
Tất cả issue của multitheftauto/mtasa-resources
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
teradata-labs/loom#624 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rohit746/pdf-view.nvim#109 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug guide
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement forever
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 61/100
openmap-world/openmap#78 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
PathOfBuildingCommunity/PathOfBuilding#10420 ·
Maintainer thường phản hồi trong vòng 8 ngày