Collision Geometry Workflow Improvements: Tunable Precision and Better Visualizations

Currently, our goal is for Tunable to get to that level of accuracy. We’re aware of some of the struggle cases involving roads & terrain, and are working on addressing them now.

If you have a specific mesh where Tunable is failing, we’d love to see it!

3 Likes

Could you direct me to the plug-in that should do the job? or if possible, share your plug-in? I can’t seem to find MeshLab

Pretty sure it still works to read the # of hulls.

Hello, I am looking for some help on this tunable collisions issue I keep running into, I set it all the way to 1 and it still will add in these extra collisions. It could be my fault too though maybe Im doing something wrong if you have any suggestions would be super appreciated

Thanks for the feedback! I sent a DM to follow up

I came here after seeing my mesh collision boxes changing from the basic convex decomposition. this is an insane W for roblox tech, I was always uncertain about how to separate necessary sections(?) so that concaves would have proper collision fidelity. this saves, at least to me, tons of unnecessary server work that is also solved inside the engine rather than inside the luau environment.


I hope I dont get flamed for not having a LoD system
yet, ill get to it! but I just thought to share that I personally really like how it’s handled. some parts are automatically rendered too precise, although, it is tunable for a reason.

concave-down shaped slopes seem to be effectively handled without error. occasionally i get some clipping while working with the Roblox physics engine, but it can easily be resolved with a little heartbeat step helper function. :slight_smile:
I dont know all too much about collision fidelity at all, but it seems very similar to the rendering itself, and from what I can see, every single collision plane(?) is completely uniform and leaves no gaps. what is a visualizer for if it just lied to you? I’m putting my trust in the tool.

jeez, I shouldve searched around before I made my previous system as it was much jankier than how this plugin probably is.

Meshlab would have probably suited your usecase better. I didn’t release my plugin because it required an external python program to run CoACD (A C++ library), so yeah it’s still kinda janky. I made it cause I got fed up with roblox garbage collider gen (seriously the default algorithm is not good) and I didn’t know they were actively working on a solution lol

1 Like

Hi, the search bar in Explorer uses a tolerance-based approximate match instead of an exact search for floats. Hope this helps.

Ah, okay thanks! But is there a reason the CollisionPrecision’s value is not rounded? Both when moving the slider and inputing a custom value?

There’s no real reason aside from convenience :sweat_smile:. We convert CollisionPrecision into 256 discrete levels and truncate the float instead of doing a round. Does this by any chance break your workflow / use case?

This is one of those features that we’ve been begging for, and finally we have it. I was only hoping for an “exact” collision mode, but a tunable option is so much better. Not only will this allow me to build beautifully detailed worlds without worrying about performance(especially with the new terrain updates), but it will let me tune it to exactly how much I want to trade off. The visualization improvements are a huge win as well.

Only one question: With this new collision fidelity mode, would it likely improve overall runtime performance by setting all of your meshes to this(assuming you only lower overall world collision complexity), or would it cause more harm than good by caching the extra information despite the simpler collision shapes?

The extra cached information only occurs on the Studio side to make moving the slider performant. The actual collision geometry that’s stored in the place file (and present when you publish the game) will be the same format as the existing fidelities. So the less vertices, the cheaper!

We’re actively working on better tools to help you see exactly how much memory your decompositions are using, so you can directly compare them!

1 Like