I’m almost done wrapping up another tutorial I’ve been following and I’ve migrated all my content/assets/blueprints into the free Medieval Dungeon environment that was on the Marketplace. However, I have a small problem. Whenever I hit play, the character falls straight through the ground.
I’ve set the Game Mode to my created ThirdPerson template and the character has collision enabled. The collision settings look the same as what’s set by default in the third person map. I’ve also opened the character’s Blueprint and changed Auto Possess Player from Disabled to Player 0, but the same thing happens.
If you want to use the shape of the mesh for collisions, enable custom collisions and select the option to use complex collision as simple for the assigned collision mesh.
Thats not a solution. What you did is the worse possible thing you can in fact do; look up Ark Meshing for an explanation as to why.
Go back to the drawing board.
Open up your mesh. Withing the panels find the collisions.
For a simple floor tile - set the values to 1 poligon with 8 verts and click generate - or just manually add a collision box and set the size of it appropriately (boxes cost less performance wise).
Ensure the collision is thick enough for the smallest object you want to support at its maximum travel speep (general rule of thumb is at least 10cm thick).
With that, you now have collision set up.
All you need to do is assign the object to the correct collision profile.
A floor tile is likely just WorldStatic.
Thats it.
Once you push the tile into any level from then on - unless you mess with the tile’s settings specifically - it should automatically just work.
If you are making your own geometry, look up how to export UCX and UCB along with your FBX so that you do not need to babysit the engine’s collisions upon import.
Ah. I see. Okay. I mean, for the purpose of this tutorial, it shouldn’t be much of an issue as I don’t aim to turn it into a multiplayer game, but I’m all for learning how to optimise. I’ll try what you suggested.
Also, is there a particular documentation your referring to regarding Ark Meshing. Because a Google search is turning up results for Ark Survival Evolved etc.
I’m really not sure I’ve done it correctly. I can’t find the options you’re referring to about setting the values to 1 polygon with 8 verts. Nor how/where to assign the object to the correct collision profile.
Also, after adding a box collision, adjusting the settings, and then saving, once I close the Static Mesh and re-open, the collision appears to be gone. There’s no green outline anymore. Adjusting the Z scale doesn’t do anything.
EDIT: Weird. Closed Unreal and discarded the changes made and now the collision is working again. I still no longer see the green outline though, but its on the mesh.