Changing Min/MaxVelocity of Emissions gets reset every frame
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by inspecting the AEmitter and Emission code paths that expose MinVelocity and MaxVelocity to Lua, then trace how emitter state is updated before particles are emitted. Reproduce the reset with the attached emitterbug.zip example and check whether the values persist across frames. Done means Lua changes to both velocity properties remain in effect for subsequent emissions.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When you use a for-loop iterator to change Min/Max velocity of an AEmitter's emissions, the change appears to be reset every frame and does not affect the velocity of the emitted particles. I have not tested this for other emission properties yet.
To Reproduce
Define any emitter with at least one Emission, and try using Lua to change the velocities of the emissions. The change does not persist.
Expected behavior
Changes to Min/MaxVelocity should be persistent.
Screenshots
This code only prints the initially defined MinVelocity of the emitter, or 0 if undefined. Placing the print after the change displays the correct value, but it is reset before emission.
- 主要言語
- C++
- スター
- 329
- フォーク
- 47
- 平均マージ
- 6日 10時間
- マージ済み PR(30日)
- 14
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cortex-command-community/Cortex-Command-Community-Project のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cortex-command-community/Cortex-Command-Community-Project#315 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 87/100
cortex-command-community/Cortex-Command-Community-Project#301 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
cortex-command-community/Cortex-Command-Community-Project#316 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
cortex-command-community/Cortex-Command-Community-Project#314 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
cortex-command-community/Cortex-Command-Community-Project#313 ·
メンテナーはふだん 2 日以内に返信
cortex-command-community/Cortex-Command-Community-Project の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
scp-fs2open/fs2open.github.com#7953 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SteveMacenski/slam_toolbox#907 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
HansKristian-Work/dxil-spirv#341 ·
メンテナーはふだん 1 日以内に返信