Mesh hitboxes still off?

Hello developers,

Roblox recently said they implemented a new hitbox creation system, however I’m still having the same issue as before with my dune meshes, which are convex in most places but have floaty-hitbox issues in the concave places (as shown in the screenshot below).

I’ve tried multiplying the number of polygons by 2 or 4 in the mesh but the issue doesn’t seem get fixed. It’s remedied ever so slightly in some areas. I don’t want to keep multiplying the polygons because I’m worried that may cause performance issues.

Any ideas on how this can be fixed? I’ve included the mesh below as an OBJ (un-mulitiplied version).

7DuneMesh_1.obj (20.7 KB)

4 Likes

Maybe try splitting your meshes into multiple meshes? See if that works. I have no experience in modeling so it may or may not work.

3 Likes

I’ll try that I suppose.

Have you made sure that the collisionfidelity is set to default? Have you tried recalculating faces if the mesh was made before the update?

2 Likes

The collision fidelity is set to default. The mesh was just uploaded as well.

Truly do seem strange. I’ve not experienced this since the update.

I may be ignorant here, but how come you decide to use a mesh for the landscape? Why not something like triangle terrain?

1 Like

At the large scales we’re doing, meshes have less polygons. They stretch as well. But if I have to upload these meshes in multiple parts to get rid of the hitbox issues then I can’t stretch it at all.

I’m sort of frustrated with Roblox’s hitbox solver. I have a set of hill meshes I’d love to use in my games (between 40 and 60 polygons each), but I can’t use them because the hitboxes on them make your character float. If the hitbox solver just created the hitbox exactly on the polygons when the poly count is low, I feel like this issue would go away.

2 Likes

Alright, I see. Thanks for explaining.

I made a feature request for the addition of an ‘Exact’ mode for CollisionFidelity because I’ve been fed up with this exact issue, Roblox’s hitbox creation for parts I need to use as surfaces is abysmal.

5 Likes

AFAIK, this will only result in making the hitbox even less accurate.

Multiplying means more complexity, which means ACD has to compensate for that by losing fidelity, to spread it across the whole geometry.
In other words, collision fidelity is inversely proportional to polygon count. The more geometry, the less accurate collisions will be.

I can’t simplify my hill meshes anymore than they already are. They’re hovering around 35 to 65 polygons per hill.

2 Likes

I’ve experienced this very recently, and its been driving me nuts. I had no convex/concave areas on my mesh, it was literally flat, 90 degrees, shapes. And yet areas on the mesh were giving inaccurate collisions. I re-imported the mesh about 5-10 times and it magically “fixed” the collisions to an extent. Something fishy going on here…

1 Like

Can you show a example of hitboxes. Like what it looks like, how it works and so and so.

Sorry to bump this thread. I couldn’t respond to the feature request above due to membership restrictions.

I have recently fallen victim to this issue as the collisions to my hallway were less than realistic in any sense.

Here’s what it looks like in blender.

Here’s what it looks like in studio with FileSettingsPhysicsShow Decomposition Geometry turned on .

For modelers, this is incredibly frustrating with only two known options:

  1. To create our own hitboxes (set the mesh to CanCollide = false)
  2. Split the mesh into different pieces.

As builds start to get more complex and become far more detailed, I don’t see this sustaining itself to a level that satisfies what Roblox is moving towards. While I can see why ACD (approximate convex decomposition) was favored over ECD (exact convex decomposition), I don’t think it’s justified as support for older (legacy) software is in the process of being dropped. Most modern computers can handle, to a certain extent, an influx of parts. While it’s understandable that a small minority of people can’t handle the byproduct of ECD, I think that a plausible option would be to allow the developer to specify which decomposition they’d like to use and go from there. While it’s been clear that over the years Roblox has shed new meaning to the common phrase “one size fits all”, I don’t think that concept is ideal, especially in the long term. To sum this up nicely; I believe that until this is corrected (not bandaged, but corrected), modelers are at a loss and the frustration of correcting this issue manually will lead talent away from the platform as a whole.

2 Likes

I actually needed this, thanks!!