AEmitters that push can delete their parents
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
Piste de recherche
Start by reproducing the issue with an attached AEmitter using PushesEmitter = 1 and JointStiffness = 1, following the listed steps with the particle count and velocity settings. Then inspect the force calculation path involving JointStiffness, which the report suspects may accumulate forces without clearing them. Done means the emitter and its parent remain present during the reproduction, without relying on damage or impulse settings that independently cause them to break.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Describe the bug
Given an AEmitter with particles set to "PushesEmitter = 1", if attached to another object, after a while both the AEmitter and the parent will cease to exist as if deleted, even if the overall impulse is not strong enough to trigger GibOnImpulse.
My theory is that something in the process of calculating forces applied with JointStiffness is adding all the forces and not clearing them.
To Reproduce
- Create an AEmitter that emits a particle set to "PushesEmitter = 1" (I've used Tiny Smoke Ball 1 at min/max vel = 10)
- Set the particle count to something strong enough to be noticeable but not strong enough to gib/rip (I've used 8000)
- Give it JointStiffness = 1 to ensure all forces are being sent to the parent
- Attach it to an attachable (Like a Ronin's head)
- Spawn the unit and wait for a bit
Expected behavior
The Aemitter and its parent not getting deleted from reality
Screenshots
The health lowering is because I was using an AEmitter set to damage it's parent through it's emissions. It shouldn't have any baring on this issue.
Additional context
Atm I've only been able to consistenly reproduce it with heads and objects attached to heads. I've tried adding it to stuff like legs or torsos but either their threshold is higher or they don't suffer from this issue.
- Langage dominant
- C++
- Étoiles
- 329
- Forks
- 47
- Merge moyen
- 6 j 10 h
- PR mergées (30 j)
- 14
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de cortex-command-community/Cortex-Command-Community-Project
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
cortex-command-community/Cortex-Command-Community-Project#315 ·
Les mainteneurs répondent en général sous 2 jours
-
enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 87/100
cortex-command-community/Cortex-Command-Community-Project#301 ·
Les mainteneurs répondent en général sous 2 jours
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 50/100
cortex-command-community/Cortex-Command-Community-Project#316 ·
Les mainteneurs répondent en général sous 2 jours
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 57/100
cortex-command-community/Cortex-Command-Community-Project#314 ·
Les mainteneurs répondent en général sous 2 jours
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 55/100
cortex-command-community/Cortex-Command-Community-Project#313 ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de cortex-command-community/Cortex-Command-Community-Project
Issues similaires
-
Missing icon for .cpp2 filesOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 66/100
madskristensen/FileIcons#385 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
microsoft/SysmonCommon#26 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
espressif/esp-matter#1913 ·
-
bug priority: low
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
chipsalliance/verible#2644 ·