{"id":13747,"date":"2024-10-19T13:30:18","date_gmt":"2024-10-19T17:30:18","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=sceneri-docs-glossar&p=13747"},"modified":"2024-11-12T03:56:48","modified_gmt":"2024-11-12T08:56:48","slug":"heirarchy","status":"publish","type":"sceneri-docs-glossar","link":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/","title":{"rendered":"Heirarchy"},"content":{"rendered":"
\n
\n
\n
\n
\n

Overview<\/h3>\n

A hierarchy is a tree-like structure that is used to organize game objects. The hierarchy is made up of nodes, which can be parent nodes or child nodes. A parent node can have multiple child nodes, but a child node can only have one parent node.<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n

\n
\n
\n
\n

The hierarchy is used to organize game objects in a way that makes it easy to find and access them. It is also used to control the relationships between game objects. For example, a parent node can control the movement of its child nodes.<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n

\n
\n
\n
\n

Here are some of the benefits of using a hierarchy in game development:<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n

\n
\n
\n
\n
    \n
  • \n
    Efficient:<\/strong><\/span> The hierarchy is an efficient way to organize game objects. This is because it allows the game engine to quickly find and access the objects that it needs.<\/span><\/div>\n<\/li>\n
  • \n
    Scalable:<\/strong><\/span> The hierarchy can be scaled up or down to accommodate different game sizes. This makes it a versatile tool that can be used to create games of all sizes.<\/span><\/div>\n<\/li>\n
  • \n
    Easy to use:<\/strong><\/span> The hierarchy is relatively easy to use. This is because it is a simple concept that is easy to understand.<\/span><\/div>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n
    \n
    \n
    \n
    \n

    Drawbacks<\/span><\/h3>\n

    Here are some of the drawbacks of using a hierarchy in game development:<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n

    \n
    \n
    \n
    \n
      \n
    • \n
      Can be complex:<\/strong><\/span> The hierarchy can be complex for large games with many game objects.<\/span><\/div>\n<\/li>\n
    • \n
      Can be slow:<\/strong><\/span> The hierarchy can be slow for games with a lot of child nodes.<\/span><\/div>\n<\/li>\n
    • \n
      Can be difficult to debug:<\/strong><\/span> The hierarchy can be difficult to debug for games with complex hierarchies.<\/span><\/div>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n
      \n
      \n
      \n
      \n

      Overall, the hierarchy is a powerful tool that can be used to organize game objects in a way that makes it easy to find and access them. However, it can also be complex and slow for large games.<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n

      \n
      \n
      \n
      \n

      Additional Tips<\/h3>\n

      Here are some additional tips for using a hierarchy in game development:<\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n

      \n
      \n
      \n
      \n
        \n
      • \n
        Use a consistent naming convention:<\/strong><\/span> Use a consistent naming convention for your game objects. This will make it easier to find and access them in the hierarchy.<\/span><\/div>\n<\/li>\n
      • \n
        Use comments:<\/strong><\/span> Use comments to document your hierarchy. This will make it easier to understand how the hierarchy works.<\/span><\/div>\n<\/li>\n
      • \n
        Use a debugger:<\/strong><\/span> Use a debugger to debug your hierarchy. This will help you to find and fix any problems.<\/span><\/div>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":false},"sceneri-docs-tag":[],"class_list":["post-13747","sceneri-docs-glossar","type-sceneri-docs-glossar","status-publish","hentry"],"acf":[],"yoast_head":"\nHeirarchy - 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-docs-glossar\/heirarchy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Heirarchy\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/\" \/>\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-12T08:56:48+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-docs-glossar\/heirarchy\/\",\"url\":\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/\",\"name\":\"Heirarchy - Sceneri\",\"isPartOf\":{\"@id\":\"https:\/\/www.sceneri.com\/#website\"},\"datePublished\":\"2024-10-19T17:30:18+00:00\",\"dateModified\":\"2024-11-12T08:56:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sceneri.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Heirarchy\"}]},{\"@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":"Heirarchy - 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-docs-glossar\/heirarchy\/","og_locale":"en_US","og_type":"article","og_title":"Heirarchy","og_url":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/","og_site_name":"Sceneri","article_publisher":"https:\/\/www.facebook.com\/sceneriapp","article_modified_time":"2024-11-12T08:56:48+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-docs-glossar\/heirarchy\/","url":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/","name":"Heirarchy - Sceneri","isPartOf":{"@id":"https:\/\/www.sceneri.com\/#website"},"datePublished":"2024-10-19T17:30:18+00:00","dateModified":"2024-11-12T08:56:48+00:00","breadcrumb":{"@id":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sceneri.com\/sceneri-docs-glossar\/heirarchy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sceneri.com\/"},{"@type":"ListItem","position":2,"name":"Heirarchy"}]},{"@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-docs-glossar\/13747"}],"collection":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-docs-glossar"}],"about":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/types\/sceneri-docs-glossar"}],"wp:attachment":[{"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/media?parent=13747"}],"wp:term":[{"taxonomy":"sceneri-docs-tag","embeddable":true,"href":"https:\/\/www.sceneri.com\/wp-json\/wp\/v2\/sceneri-docs-tag?post=13747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}