Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#54 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
38/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
cpp
Domínio
game-dev

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C++
Estrelas
329
Forks
47
Merge médio
6d 10h
PRs com merge (30d)
14

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de cortex-command-community/Cortex-Command-Community-Project

Todas as issues de cortex-command-community/Cortex-Command-Community-Project

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.