AutoMovie API
    Preparing search index...

    Function collectAutoMovieCollisionParts

    • Read every visible drawn object of one placed layer as collision parts.

      Plain stock boxes become exact displayed solids. A closed stock mesh, a stock skin and every drawn member of an instanced batch become conservative world envelopes with a lazily posed surface. A cord becomes enclosing capsules around its solver segments, with its drawn tube as the surface. Open surfaces and custom vertex programs remain unsupported with a reason. Each mesh is named by its unique entity path, so identities stay the same from frame to frame.

      Parameters

      • layer: collectAutoMovieCollisionParts.ILayer

        The placed layer and its source-owned identities.

      • budget: { parts?: number; posedVertices: number }

        Posed-vertex allowance charged when a surface is read, and an optional part allowance charged per collected part; collection stops when the parts run out.

      Returns collectAutoMovieCollisionParts.IResult

      Parts in traversal order, posed surfaces by part and unsupported reasons by part.