SpeedTree
    Show / Hide Table of Contents

    Create and edit procedural vines

    Create procedural vines with typical shapes and behaviors.

    To make manual edits, refer to Place and edit vines manually.

    Create procedural vines

    To create procedural vines:

    1. Add a Vine generator with one of the following methods:

      • Add a Vine generator to a parent generator.
      • Ray cast vines onto the model with a Projector scene object.
      • Grow vines from a Zone generator.

        Added to a parent generator Cast with a Projector Added with a Zone generator
        Added to a Branch generator Cast with a Projector Added with a Zone generator
    2. Create a geometry force from the generators or mesh assets you want the vine to interact with.

    3. Enable the geometry force in the Vine generator properties. >[!NOTE] >The Vine generator must be in a later pass than the generators that make the geometry force.
    4. Adjust the Vine generator properties to get the desired placement and shape.

      Tip

      Increase the Segments:Accuracy to get more detail on the vine and better collisions.

      Tip

      You may find it easier to position the vines over other geometry if you set the Spine:Droop:Style to Off. Once you have a desired position, set Spine:Droop:Style to On to test how the vines fall with gravity.

      Vines positioned with **Droop** set to off, then turned on

    Common behaviors for vines

    To create common vine behaviors, use the following properties:

    Vine behavior Properties to edit
    Swooping and hanging with gravity Spine:Droop properties
    Crawling and wrapping around other geometry Geometry Force Crawling properties
    Swooping in-line with a parent branch Refer to Create low-poly vines for games
    Following another vine or branch Refer to Create vines that follow a guide

    Additional resources

    • Vine generator
    • Vine generator properties
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.