max-mapper / max-mapper/voxel-engine

How to Fix Voxel Bugs

Open
#134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.3k
Forks
217
PR merge metrics
No merged PRs in 30d

Description

When you get near a Block, you get Stuck and Sometimes you Fly Until the Last Block Higher than you...

I Tried to fix it by if [game.controls.target().player.position() == gameInstance.voxels.chunkAtPosition(position)] {

window.close() // just so i can know that it worked

}

Help, Please Im New to WebGL and HTML Games Coding...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the stuck or flying behavior near a Block, then inspect the referenced game.controls.target().player.position() and gameInstance.voxels.chunkAtPosition(position) calls. Done means the movement bug is reproduced, its cause is identified, and the fix prevents the player from getting stuck or flying past the last block.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.