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

Voxels for rigid bodies #722

Open
Shadowblitz16 opened this issue Dec 27, 2024 · 1 comment
Open

Voxels for rigid bodies #722

Shadowblitz16 opened this issue Dec 27, 2024 · 1 comment

Comments

@Shadowblitz16
Copy link

Is your feature request related to a problem? Please describe.
I want to make a 3d space game where I build spaceships out of voxels.
But sadly Rigidbody doesn't recognize collisions generated from VoxelTerrain

Describe the solution you'd like
Either seperate VoxelTerrain into a mesh and a collider or support some sort of intermate collider we can pass VoxelTerrain to.

Describe alternatives you've considered
Everything.

Additional context
NA

@Zylann
Copy link
Owner

Zylann commented Dec 27, 2024

Right now there is no planned support for this. The module is very much focused on streaming terrain, not dynamic constructs. I will not exclude the possibility that something like that gets introduced in the future, but I don't have such plan for now.

If you really want to use this module to do this, you may be able to use meshers to generate your ship's visuals (or chunks of it), and then either create convex colliders from that, or a compound of surface blocks to be able to make it simulate as one rigidbody. I tried the latter once (without even the voxel module, made my own grid-based snapping scalable block builder with regular scenes), it works ok for moderate-size ships in Godot, but I havent measured how far it can go. Also Jolt was added recently which may change what is possible to do.

Also might be a duplicate of of #511

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

No branches or pull requests

2 participants