freezy / VisualPinball.Engine

:video_game: Visual Pinball Engine for Unity
https://docs.visualpinball.org
GNU General Public License v3.0
396 stars 62 forks source link

Fix Mesh Bounding Boxes #441

Closed freezy closed 1 year ago

freezy commented 1 year ago

A few meshes where disappearing from the scene depending on camera angle due to wrong bounding boxes, namely metal wire guides and walls.

This PR properly sets the BBs when generating the mesh. In an existing scene, click on the "Regenerate Mesh" button to re-apply.