Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Weapons can be held past solid terrain if the middle of the gun ends up being held there

Aperta
#54 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
game-dev

Direzione di ricerca

Start by locating the terrain clipping function and the weapon holding code for the BG arm; reproduce with dual wielded browncoat Stingers beside a closed door or lone metal ladder. Trace how clipping checks the weapon against terrain when its middle is beyond the obstacle. The issue suggests ray casting from the middle of the Arm or AHuman; done means the weapon cannot pass through solid terrain or fire through it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Describe the bug
The accounting for terrain clipping function only seems to actually work as intended if it's dealing with a gun that can't be held so far forward that the middle of the gun ends up completely past solid terrain. This is very easy to see with the Stinger held in the BG arm, because it's a large weapon held out very far.

To Reproduce

  1. Dual wield two browncoat Stingers
  2. Push up against some thin terrain, like a closed door or a lone standing metal ladder
  3. Observe as the BG Stinger is held completely past the terrain and you can fire through to the other side

Expected behavior
Accounting for terrain clipping should always work even when the device is held very far forward.

Additional context
The function will probably have to be rewritten a little to cast a ray from the middle of the Arm (or even the AHuman) itself so it can't accidentally miss terrain.

Lingua principale
C++
Stelle
329
Fork
47
Merge medio
6g 10h
PR unite (30g)
14

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cortex-command-community/Cortex-Command-Community-Project

Tutte le issue di cortex-command-community/Cortex-Command-Community-Project

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.