docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    SpriteShape Object Placement

    Attach a SpriteShapeObjectPlacement component to your GameObject to position an Object along the Spline of a Sprite Shape Controller.

    Attaching a Collider component

    1. Start Point must be smaller than the End Point and must be a valid index in the Spline's control points.
    2. Enabling Set Normal rotates the Object at normal direction to where the Object is placed along the Spline.
    3. Ratio dictates the distance ratio between the Start and End points where the Object should be placed.
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)