r/UnityHelp • u/No-Bullfrog-2081 • Oct 21 '26
Mesh collider on speedtree’s tree
Hi! I’m planning to make a game where you play as a squirrel climbing trees. However, I noticed that SpeedTree trees don't generate Mesh Colliders when instanced using the Unity terrain system. Does anyone know how to bypass this or recommend an asset to achieve it? (I know capsule colliders work, but they aren't accurate to the tree trunk and look weird with the climbing mechanics).
2
Upvotes
2
u/DPTGames Oct 21 '26 edited Oct 21 '26
My terrain pack can do GPU instanced trees with any type of collider including mesh colliders. You can also set a distance you want colliders to be active in, so near trees would have active colliders and far trees would not. https://assetstore.unity.com/packages/tools/terrain/vertex-3d-terrain-planet-floating-island-spline-creator-403136
1
u/guillermolmr Oct 22 '26
In the tree asset can't you add a script that adds a mesh collider on the start?