Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a way to change the resolution of smooth voxels? #732

Open
Baldrick-Brick opened this issue Feb 24, 2025 · 1 comment
Open

is there a way to change the resolution of smooth voxels? #732

Baldrick-Brick opened this issue Feb 24, 2025 · 1 comment
Labels

Comments

@Baldrick-Brick
Copy link

Baldrick-Brick commented Feb 24, 2025

id like to know if there's a way to make each individual voxel closer to each other. so that when i mine through the ground i dont get pointy vertices showing-- as i think a greater voxel resolution would make it less noticeable.

I attempted to scale down the terrain but for some reason it removes any ability to break or destroy the terrain. So instead I scaled my character in greater size, which did make the voxel's individual vertices less noticeable and did work well-- however this resulted in collisions being extremely laggy when colliding in small bumps or holes in the terrain.

  • voxelLodTerrain, Terrain
  • Transvoxel, Mesh
  • graph, Generator
  • 4.3.stable, Godot Version
@Zylann
Copy link
Owner

Zylann commented Feb 24, 2025

I attempted to scale down the terrain but for some reason it removes any ability to break or destroy the terrain

Scaling wouldn't cause that. You might have a mistake in your editing code, for example make sure you're passing coordinates local to the terrain, instead of global coordinates.

I scaled my character in greater size, which did make the voxel's individual vertices less noticeable and did work well-- however this resulted in collisions being extremely laggy when colliding in small bumps or holes in the terrain.

Assuming this ended up working the same as scaling down the terrain, and assuming that's really caused by collision, that's pretty much what you get with Godot physics and more detailed colliders. Godot's physics engine in 4.3 isn't great.

This question comes up often and has already been posted many times:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants