{"id":6666,"date":"2021-07-07T21:54:28","date_gmt":"2021-07-07T21:54:28","guid":{"rendered":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/"},"modified":"2021-07-08T13:43:52","modified_gmt":"2021-07-08T13:43:52","slug":"simulating-physics","status":"publish","type":"docs","link":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/","title":{"rendered":"Simulating Physics"},"content":{"rendered":"\n<p>If you want your trees to &#8220;<strong>fall over<\/strong>&#8221; (simulate physics) when they&#8217;ve been depleted there are a couple of steps required for this to take place, let&#8217;s take a look.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/collision-setup\/\" target=\"_blank\" rel=\"noreferrer noopener\">Setup Collisions for your Mesh<\/a><br>This is a critical step if you also want to save on performance, this also has to be done for ALL meshes that you want to interact with\/simulate physics on<\/li><li>Make sure &#8220;<strong>Simulate Physics<\/strong>&#8221; and &#8220;<strong>Apply Impulse on Depletion<\/strong>&#8221; is checked in the Data Table for the foliage type<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"720\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5-1024x720.jpg\" alt=\"\" class=\"wp-image-6668\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5-1024x720.jpg 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5-300x211.jpg 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5-768x540.jpg 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5.jpg 1199w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Try adjusting the &#8220;<strong>Impulse Multiplier<\/strong>&#8221; if your tree is not falling over, the plugin will attempt to calculate where to apply the impulse on the mesh to make it seem &#8220;<strong>realistic<\/strong>&#8221; but sometimes meshes have too much &#8220;<strong>mass<\/strong>&#8221; to be affected by the impulse<\/li><\/ul>\n","protected":false},"featured_media":0,"parent":6653,"menu_order":6,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-6666","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Simulating Physics - eelDev<\/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:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Simulating Physics - eelDev\" \/>\n<meta property=\"og:description\" content=\"If you want your trees to &#8220;fall over&#8221; (simulate physics) when they&#8217;ve been depleted there are a couple of steps required for this to take place, let&#8217;s take a look. Setup Collisions for your MeshThis is a critical step if you also want to save on performance, this also has to be done for ALL ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/\" \/>\n<meta property=\"og:site_name\" content=\"eelDev\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-08T13:43:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5-1024x720.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/\",\"url\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/\",\"name\":\"Simulating Physics - eelDev\",\"isPartOf\":{\"@id\":\"https:\/\/eeldev.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5-1024x720.jpg\",\"datePublished\":\"2021-07-07T21:54:28+00:00\",\"dateModified\":\"2021-07-08T13:43:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#primaryimage\",\"url\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5.jpg\",\"contentUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5.jpg\",\"width\":1199,\"height\":843},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eeldev.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Foliage Plugin\",\"item\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bonus Examples\",\"item\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Simulating Physics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eeldev.com\/#website\",\"url\":\"https:\/\/eeldev.com\/\",\"name\":\"eelDev\",\"description\":\"eelDev.com\",\"publisher\":{\"@id\":\"https:\/\/eeldev.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eeldev.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eeldev.com\/#organization\",\"name\":\"eelDev\",\"url\":\"https:\/\/eeldev.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eeldev.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png\",\"contentUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png\",\"width\":2048,\"height\":682,\"caption\":\"eelDev\"},\"image\":{\"@id\":\"https:\/\/eeldev.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Simulating Physics - eelDev","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:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/","og_locale":"en_US","og_type":"article","og_title":"Simulating Physics - eelDev","og_description":"If you want your trees to &#8220;fall over&#8221; (simulate physics) when they&#8217;ve been depleted there are a couple of steps required for this to take place, let&#8217;s take a look. Setup Collisions for your MeshThis is a critical step if you also want to save on performance, this also has to be done for ALL ... Read more","og_url":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/","og_site_name":"eelDev","article_modified_time":"2021-07-08T13:43:52+00:00","og_image":[{"url":"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5-1024x720.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/","url":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/","name":"Simulating Physics - eelDev","isPartOf":{"@id":"https:\/\/eeldev.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#primaryimage"},"image":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#primaryimage"},"thumbnailUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5-1024x720.jpg","datePublished":"2021-07-07T21:54:28+00:00","dateModified":"2021-07-08T13:43:52+00:00","breadcrumb":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#primaryimage","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5.jpg","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2021\/07\/1-5.jpg","width":1199,"height":843},{"@type":"BreadcrumbList","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/simulating-physics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eeldev.com\/"},{"@type":"ListItem","position":2,"name":"Foliage Plugin","item":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/"},{"@type":"ListItem","position":3,"name":"Bonus Examples","item":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/"},{"@type":"ListItem","position":4,"name":"Simulating Physics"}]},{"@type":"WebSite","@id":"https:\/\/eeldev.com\/#website","url":"https:\/\/eeldev.com\/","name":"eelDev","description":"eelDev.com","publisher":{"@id":"https:\/\/eeldev.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eeldev.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eeldev.com\/#organization","name":"eelDev","url":"https:\/\/eeldev.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","width":2048,"height":682,"caption":"eelDev"},"image":{"@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/comments?post=6666"}],"version-history":[{"count":3,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6666\/revisions"}],"predecessor-version":[{"id":6672,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6666\/revisions\/6672"}],"up":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6653"}],"prev":[{"title":"Health","link":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/health\/","href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6656"}],"wp:attachment":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/media?parent=6666"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=6666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}