{"id":10209,"date":"2024-07-13T01:45:14","date_gmt":"2024-07-13T05:45:14","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=sceneri-pro-docs&p=10209"},"modified":"2024-11-08T04:42:36","modified_gmt":"2024-11-08T09:42:36","slug":"spline","status":"publish","type":"sceneri-pro-docs","link":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/","title":{"rendered":"Spline"},"content":{"rendered":"

Overview<\/h3>\n

Spline components in Sceneri are powerful tools for creating smooth, curved paths that can serve as the foundation for a variety of in-game elements. From distributing assets along winding trails to generating realistic roads and ropes, Sceneri\u2019s spline-based components offer flexibility and realism for developers building immersive game environments.<\/p>\n

This article covers the core spline components\u2014Spline<\/strong>, Spline Asset Distributor<\/strong>, Procedural Spline Mesh<\/strong>, Road<\/strong>, and Rope<\/strong>\u2014and explains how to use each of these to enhance your game scenes.<\/p>\n

Component Types<\/h3>\n<\/div><\/div><\/div>

Icon<\/p>\n<\/div><\/div><\/div>

Description<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div>

  • <\/span><\/div><\/div><\/div>

    Asset Distributor<\/h4><\/div>

    Places assets along a predefined path or curve, allowing for efficient alignment and spacing of objects like fences, trees, or roads in a seamless, natural layout.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n
  • <\/span><\/div><\/div><\/div>

    Procedural Spline Mesh<\/h4><\/div>

    Generates and deforms mesh objects along a spline path, enabling the creation of continuous structures like roads, rivers, or pipes that adapt dynamically to the curve.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n
  • <\/span><\/div><\/div><\/div>

    Road<\/h4><\/div>

    A realistic road or liquid surface along a designated path, complete with adjustable width, texture, and curvature, for seamless integration into landscapes or environments.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n
  • <\/span><\/div><\/div><\/div>

    Rope<\/h4><\/div>

    Simulates a flexible, physics-based rope that can stretch, swing, and interact dynamically with objects and forces, adding realism to elements like cables, vines, or chains.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n
  • <\/span><\/div><\/div><\/div>

    Spline<\/h4><\/div>

    A smooth, curved path using control points, providing a flexible foundation for positioning, animating, or aligning assets along a continuous line in 3D space.<\/p>\n<\/div><\/div><\/div><\/div><\/div>

    <\/div><\/div><\/li>\n<\/ul><\/div><\/div><\/div>

    Best Practices<\/h3>\n
      \n
    1. Define Clear Paths with the Spline Component:<\/strong> Start by defining a clean, well-placed spline path, as this will serve as the base for all other spline-related components.<\/li>\n
    2. Optimize Asset Distribution:<\/strong> Use Spline Asset Distributor to avoid manual placement of repetitive assets, especially in complex or large scenes.<\/li>\n
    3. Combine Procedural Mesh and Road Components:<\/strong> For realistic, well-integrated roads, combine Procedural Spline Mesh with the Road component, leveraging both mesh customization and road-specific features.<\/li>\n
    4. Add Physics with the Rope Component:<\/strong> Integrate the Rope component for elements that need dynamic movement, creating more interactive environments.<\/li>\n
    5. Experiment with Curvature and Spacing:<\/strong> Adjust curvature settings and asset spacing to achieve a natural look in landscapes and paths.<\/li>\n<\/ol>\n

      Summary<\/h3>\n

      Sceneri\u2019s spline-based components enable a wide range of creative possibilities, from smoothly placed assets to procedurally generated roads and dynamic ropes. By mastering these tools, developers can craft visually cohesive, interactive game environments that adapt seamlessly to their design needs.<\/p>\n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"

      Spline Components provide creators with a way to draw splines within a level. This is particularly useful for designating paths for moving objects, such as platforms, characters, or cameras.<\/p>\n","protected":false},"author":251212454,"featured_media":0,"parent":10195,"menu_order":0,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"sceneri-docs-tag":[1720],"class_list":["post-10209","sceneri-pro-docs","type-sceneri-pro-docs","status-publish","format-standard","hentry","sceneri-docs-tag-components"],"acf":[],"yoast_head":"\nSpline - Sceneri<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spline\" \/>\n<meta property=\"og:description\" content=\"Spline Components provide creators with a way to draw splines within a level. This is particularly useful for designating paths for moving objects, such as platforms, characters, or cameras.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/\" \/>\n<meta property=\"og:site_name\" content=\"Sceneri\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sceneriapp\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-08T09:42:36+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@sceneriapp\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/\",\"url\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/\",\"name\":\"Spline - Sceneri\",\"isPartOf\":{\"@id\":\"https:\/\/www.sceneri.com\/#website\"},\"datePublished\":\"2024-07-13T05:45:14+00:00\",\"dateModified\":\"2024-11-08T09:42:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sceneri.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Components\",\"item\":\"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Spline\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sceneri.com\/#website\",\"url\":\"https:\/\/www.sceneri.com\/\",\"name\":\"Sceneri\",\"description\":\"Collaborate in 3D.\",\"publisher\":{\"@id\":\"https:\/\/www.sceneri.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sceneri.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.sceneri.com\/#organization\",\"name\":\"Sceneri\",\"url\":\"https:\/\/www.sceneri.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png\",\"contentUrl\":\"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png\",\"width\":1630,\"height\":512,\"caption\":\"Sceneri\"},\"image\":{\"@id\":\"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/sceneriapp\",\"https:\/\/x.com\/sceneriapp\",\"https:\/\/www.reddit.com\/r\/sceneriapp\/\",\"https:\/\/www.twitch.tv\/sceneriapp\",\"https:\/\/www.youtube.com\/@sceneriapp\",\"https:\/\/www.linkedin.com\/company\/sceneri\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Spline - Sceneri","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/","og_locale":"en_US","og_type":"article","og_title":"Spline","og_description":"Spline Components provide creators with a way to draw splines within a level. This is particularly useful for designating paths for moving objects, such as platforms, characters, or cameras.","og_url":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/","og_site_name":"Sceneri","article_publisher":"https:\/\/www.facebook.com\/sceneriapp","article_modified_time":"2024-11-08T09:42:36+00:00","twitter_card":"summary_large_image","twitter_site":"@sceneriapp","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/","url":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/","name":"Spline - Sceneri","isPartOf":{"@id":"https:\/\/www.sceneri.com\/#website"},"datePublished":"2024-07-13T05:45:14+00:00","dateModified":"2024-11-08T09:42:36+00:00","breadcrumb":{"@id":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/spline\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sceneri.com\/"},{"@type":"ListItem","position":2,"name":"Components","item":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/components-interface\/"},{"@type":"ListItem","position":3,"name":"Spline"}]},{"@type":"WebSite","@id":"https:\/\/www.sceneri.com\/#website","url":"https:\/\/www.sceneri.com\/","name":"Sceneri","description":"Collaborate in 3D.","publisher":{"@id":"https:\/\/www.sceneri.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sceneri.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.sceneri.com\/#organization","name":"Sceneri","url":"https:\/\/www.sceneri.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png","contentUrl":"https:\/\/www.sceneri.com\/wp-content\/uploads\/2024\/06\/sceneri-logo-inverted.png","width":1630,"height":512,"caption":"Sceneri"},"image":{"@id":"https:\/\/www.sceneri.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sceneriapp","https:\/\/x.com\/sceneriapp","https:\/\/www.reddit.com\/r\/sceneriapp\/","https:\/\/www.twitch.tv\/sceneriapp","https:\/\/www.youtube.com\/@sceneriapp","https:\/\/www.linkedin.com\/company\/sceneri\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-pro-docs\/10209"}],"collection":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-pro-docs"}],"about":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/types\/sceneri-pro-docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/users\/251212454"}],"version-history":[{"count":0,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-pro-docs\/10209\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-pro-docs\/10195"}],"wp:attachment":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/media?parent=10209"}],"wp:term":[{"taxonomy":"sceneri-docs-tag","embeddable":true,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-docs-tag?post=10209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}