this post was submitted on 17 Jul 2024
24 points (100.0% liked)

Godot

5920 readers
77 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

[email protected]

Credits

founded 1 year ago
MODERATORS
 

Exactly what the title says. It's under MIT lisence and currently being approved by the moderators of the AssetLib. The project is currently very simple and contributions are very welcome! image of the tool window

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 4 months ago (2 children)

That looks great! I've been wanting a way to do this.

Does it have that functionality of a regular Mesh3D in the GUI where you can automatically create a collision shape from the (combined) mesh?

[–] [email protected] 3 points 4 months ago (1 children)

No but that is a great idea to implement! There are two ways I could go about this. Maybe you could give me some feedback on this?

  • Option 1: Select a single MeshInstance3D Node > in the Mesh menu, select the Combine similar into MultiMeshInstance3D and that autoamtically combines the MeshInstance3Ds in the same parent Node
  • Option 2: Select all MeshInstance3Ds you want to combine and then select that same option under the Mesh menu

Which one do you prefer?

[–] [email protected] 3 points 4 months ago

Ooh, I think I like the sound of Option 2 the most. I find myself selecting multiple meshes already, but without your tool, I end up doing this repeatedly as I make adjustments. Sounds like I could just select the desired meshes once and combine which would be amazing.

Thanks!

[–] [email protected] 1 points 4 months ago (1 children)

Oh wait i think i actually misunderstood your original question. I thought you wanted to see the combination option in that Mesh Submenu, but you seem to have actually referred to the ability of adding collision to a combined MultiMeshInstance, do i understand that correctly now?

I actually already implemented the ability to carry over collisions from the original objects to the combined objects as an optional setting. Explanation video of the tool here. But having the ability to add collision to a MultiMeshInstance without having any prior configuration is also a very interesting idea. This might be a bit out of my current knowledge of the engine, but i can try!

[–] [email protected] 1 points 4 months ago

you seem to have actually referred to the ability of adding collision to a combined MultiMeshInstance, do i understand that correctly now?

Sorry for the delayed response! Yes, that is exactly it. I want to skip creating Collision for each one of the primitive shape MeshInstance3Ds. It would be a bonus if I can choose to consolidate the meshes and collision shapes:

  1. Option to consolidate meshes, or not
  2. Option to create multiple collision for selected meshes, OR create consolidated collision for these meshes

Thanks for the response. I am going to try playing with OptiScene :)