Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Changing Min/MaxVelocity of Emissions gets reset every frame

Abierto
#55 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cpp, lua
Área
game-dev

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C++
Estrellas
329
Forks
47
Merge medio
6 d 10 h
PR fusionados (30 d)
14

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cortex-command-community/Cortex-Command-Community-Project

Todos los issues de cortex-command-community/Cortex-Command-Community-Project

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.