Replies: 1 comment 1 reply
-
discord msg |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! Can someone help me with my problem? I have a system that does chunk reloading(create new mesh, create collider(rapier3d) from that mesh, delete children(pbr bundle and collider are children to the chunk) and insert new ones). When I try to destroy block in chunk, I need to destroy it twice for the mesh and collider to update(why?).
Here is some relevant code:
destroy object system:
and system ordering:
When I run the game and break a block, I can see(through
println
's that block is broken, block_data in chunk is updated and mesh & collider are update too, but in game it stays the same. Only after I break it a second time it actually reloads chunk mesh and collider.Beta Was this translation helpful? Give feedback.
All reactions