Colliders
Every plant gets colliders fitted to its own shape, at one of three levels.
- Simple
- Exactly one fitted shape over the whole plant.
- Compound
- A few primitives (spheres, capsules, boxes) over the supporting stems and the foliage masses. The usual choice, and the default.
- Detailed
- A tighter arrangement of primitives and low-complexity convex hulls that also follows thinner branches.
Choose the level
- A live plant: set Collision in its inspector to None, Simple, Compound or Detailed.
- A ready prefab comes with the colliders its pack was built with; the pack's README says which. They are ordinary Unity colliders: remove or replace them as you like. For another level, place the same plant live, set its Collision and bake it.
Foliage
Foliage collision says what the foliage masses do:
- Solid
- Foliage collides like the wood.
- Trigger
- Things pass through and you get the trigger events: rustling, hiding, slowing down.
- None
- The wood alone collides.
Recorded, not computed
Each specimen in a specimen library carries its Simple and Compound colliders, fitted and checked when the pack was made. A live plant at those levels reads them instead of fitting anything. Detailed colliders are fitted the first time a plant asks for them, which takes noticeably longer: bake plants that need them, or set them while the scene loads.
In the scene
A live plant's colliders sit on unsaved child objects, rebuilt when the plant changes; the selected plant draws their outlines in the Scene view. Bake to prefab keeps them as ordinary colliders.