Changing Min/MaxVelocity of Emissions gets reset every frame
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
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 小時
- 30 天內合併 PR
- 14
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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
-
難度 1/5 1 小時以內 新手友好度 90/100
espressif/esp-matter#1913 ·
-
bug priority: low
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100
chipsalliance/verible#2644 ·
-
難度 2/5 1-3 小時 新手友好度 74/100
grafana/pyroscope-dotnet#470 ·
維護者通常 1 天內回覆
-
documentation P5 XS
難度 2/5 1-3 小時 新手友好度 72/100
open-astro/AlpacaBridge#1848 ·
維護者通常 1 天內回覆