EDF custom vehicle rotation doesn't match actual vehicle rotation
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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/
- 主要言語
- Lua
- スター
- 185
- フォーク
- 180
- 平均マージ
- 5日 13時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
multitheftauto/mtasa-resources のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
multitheftauto/mtasa-resources#697 · コメント 7 件 · リアクション 7 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
multitheftauto/mtasa-resources#564 · リアクション 1 件 ·
-
editor: LOD_MAP table is missing some LOD models再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 36/100
-
enhancement resource:editor
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
multitheftauto/mtasa-resources#388 · リアクション 3 件 ·
-
help wanted waiting for feedback
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
multitheftauto/mtasa-resources#361 · コメント 8 件 · リアクション 8 件 ·
multitheftauto/mtasa-resources の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rohit746/pdf-view.nvim#109 ·
メンテナーはふだん 1 日以内に返信
-
bug guide
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
enhancement forever
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
openmap-world/openmap#78 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AndyHazz/bookends.koplugin#130 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
carlos-algms/agentic.nvim#336 ·