How to use Tree Collider / colliders on Unity Terrain system

Tannos 2023
Tannos 2023
1.9 هزار بار بازدید - 9 ماه پیش - How tree colliders works in
How tree colliders works in Unity3D and how to use in a right way

You can put trees in Unity with 2 basic way to th basic terrain
1. Put trees with "Paint trees" option. In this case Unity can handle only the basic colliders (Box, Sphere, Capsule)
When stick the trees on the terrain system with "Paint trees" options, then the mesh colliders will not working.

2. Put trees directly in the Scene wich can see in "Hierarchy" window. This case Unity will handle all colliders with the mesh collider too.
But be carefull, this methode use more resources from CPU. The mesh colliders need more power to calculate.

The colliders need put in to the "Tree" prefab. So if you have an Blender, FBX or other 3D modell, firts create prefab from this.
Add LOD component. Then add collider. For the collider no matter wich level are, on the root or prefab child, this will work. You can add more then one collider for one prefab.

#unity #unity3d #indiegame #shader #shadergraph #tutorial #tutorials #tips #tricks #gamedev #gamedeveloper #gamedevelopment
9 ماه پیش در تاریخ 1402/08/07 منتشر شده است.
1,940 بـار بازدید شده
... بیشتر