Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Changing Min/MaxVelocity of Emissions gets reset every frame

オープン
#55 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp, lua
領域
game-dev

調査の方向性

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 の本文から書いたものです。

説明

bug

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
image
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.

emitterbug.zip

主要言語
C++
スター
329
フォーク
47
平均マージ
6日 10時間
マージ済み PR(30日)
14

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cortex-command-community/Cortex-Command-Community-Project のほかの issue

cortex-command-community/Cortex-Command-Community-Project の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。