Hollow Convex Hull

I have a boat hull that I am trying to generate a convex collision mesh for. The problem is when I generate the mesh closes off all the open points of the hull. So my character cant actually get into the boat. Is there a way to get around this? I did a search for convex hull, but did not find any topics that addressed this. Thanks in advance for any help.

Matt

It’s not called a convex collision mesh for nothing. :slight_smile: There’s no such thing as a convex mesh with open points (that would be concave), so no, there’s no way to get around it except by not using a convex collision mesh.

–Eric

you could actually have additional triggers at the passage areas and disable the collision while the player is in the passage trigger (enabling specific passage surrounding colliders for the time)

Simply split it up in more convex shapes like this

I guess I will attempt to build my objects out of multiple convex shapes. If this does not work I may decide to migrate to a different engine, without the mesh collider limitation. I know mesh colliders are slower, but I usually just generate a second low poly mesh. I have never experianced much of a performance hit using low poly meshes. Using different triggers and ignoring certain collisions just seems impractical and overly complicated to use in a big game. Even using multiple convex shapes seems like this is going to make things harder and everything a longer process.