Update Zdepth while in game
See original GitHub issueI have a piece of code which updates the Z-index of the entity like so: entity.getTransformComponent().setZ(5);
. I have tested it and I’m sure that the block of code is being executed, however: the update to the Z-index is never propagated to the screen and the entity remains above (or below) the other entities.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Drawing in the 3D world of a modern game WITH z-depth testing
This can make it hard to actually draw geometry in the game world, instead of merely on top of the game world. Here's...
Read more >How to implement Z depth in a 2D game? : r/godot - Reddit
I'm curious on how to make something like the Mario Bros. Superstar Saga game, it's definitely a 2D game since it was on...
Read more >Using z(depth) to create a "3D" scene - Microsoft MakeCode
I just wanted to share what I've learned about using a sprite's z(depth) property in makecode arcade for allowing characters to move in ......
Read more >Z-Depth · Documentation
Z-Depth. This page shows some example tree layouts that can be used to generate depth data or use z-depth for tracking. Note ...
Read more >Depth testing - LearnOpenGL
When depth testing is enabled, OpenGL tests the depth value of a fragment against ... is rendered and the depth buffer is updated...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems you are running an old version of the snapshot:
Try force update maven dependencies. The build should be dated today 13.02.2020
Thank you very much!!! It worked, sorry didn’t realise cleaning the project wasn’t enough.
For future reference, here’s the command to force update maven projects:
mvn clean install -U