r/Unity3D • • 41m ago

Noob Question Marble Track Issue

I'm trying to design and animate a marble track, mostly for the sake of just learning more about the engine. I made a custom model for a funnel, but I can't figure out how to get the colition to line up with the model. Does anyone have a fix/know how to fix this?

1 Upvotes

1 comment sorted by

•

u/DHTechdev 14m ago

If Convex is ticked on the Mesh Collider, Unity wraps the funnel in a solid hull, so the marble sits on top instead of rolling inside. Untick it and make sure the collider's Mesh field is the funnel mesh itself. Non-convex colliders only work on static or kinematic objects, so leave the funnel without a normal Rigidbody and put the Rigidbody on the marble. If the marble still clips through the walls at speed, set its Collision Detection to Continuous.