Hey there, I'm trying to create a model with a concave shape. Currently I'm using two STL's joined together with smooth shading.
This is my current model:
https://i.imgur.com/6LoA5p3.png
The phys model is the same as this except it's cut down the middle like this (Ignore the texture):
https://i.imgur.com/KUxjnmF.png
I'm also aware that the concave cutout won't be perfect, but it doesn't need to be in my case.
After exporting it to a SMD and trying to compile the model, the output says that "Model has 1 convex sub-parts"
I'm probably missing something super obvious, any pointers?
You may have to do some splits and whatever. Gotta make sure all sub collision meshes are convex.
https://i.imgur.com/sIAUrjB.jpg
How would I go about splitting whilst keeping it as one .smd?
I don't need the concave to be super detailed, even something like this would be okay:
https://files.facepunch.com/forum/upload/133314/411f6c86-e604-497a-8bd0-6739d8e31f4f/image.png
Okay. Thiat looks alright. Just make sure all of those collision mesh parts are seperate and welded (aka remove doubled and set to smooth in the uv tab) meshes. That should work.
If you want it to be REALLY precise, have it separate from the vertices of the curve, in boxes like this:
https://files.facepunch.com/forum/upload/57863/7a5fb046-5756-406c-b607-eaae3703d67b/thing.png
To do so, I'd make it all a single n-gon face by dissolving the edges (select in edit mode one edge at a time, then press space bar and search for "dissolve egde"), same thing on the other side, then using the knife tool in orthographic view (KP 5, the view that shows the viewport in "2d") and go above using the KP keys (KP 7 is the above view) and cut out the edges snapping onto the vertices, you'd have to make an edge loop so you need to repeat the same process for different views (still with KP views).
After that I'd separate the mesh by selecting the edge loops I just created (one by one or it will select the faces inbetween) and separate them by pressing V (and right click so it stays in the same place), when all of the boxes are separated fill the holes with F to make them convex!
This is how I would do it and I am sure there's a better way, but it's the simpliest I can think of and if it's stupid but it works...
I'll give this a try tomorrow, I'm heading to sleep in a moment. Thanks for the help though! I'll let you know how I get on with some more complicated stuff.
Okay, I've moved onto a model that needs to have the same collisions as the visual model. I've tried the method I used previously (Splitting the model into smaller convex shapes and re-joining them), however it's only outputting as 3 convex sub-parts rather than the 6 or so that I need:
https://files.facepunch.com/forum/upload/133314/be5f94c4-da5c-4158-b917-02c58d9eb448/image.png
I split this into the sections marked in red and re-joined it, it reproduced this in game:
https://files.facepunch.com/forum/upload/133314/e2b7ed05-128f-480d-96e0-1321dd4d2d15/image.png
Any ideas on what I should do? Please bear in mind that I'm basically a complete newbie.
Move a little bit 2 and 4 piece
That worked perfectly, thanks!
Sorry, you need to Log In to post a reply to this thread.