{"id":3380,"date":"2021-02-23T01:02:08","date_gmt":"2021-02-23T08:02:08","guid":{"rendered":"http:\/\/artistedancediva.co.uk\/wp\/?p=3380"},"modified":"2021-02-24T10:19:04","modified_gmt":"2021-02-24T17:19:04","slug":"palette-reference-12-thrower-part-8-materialsoncollide","status":"publish","type":"post","link":"https:\/\/artistedancediva.co.uk\/wp\/?p=3380","title":{"rendered":"Palette Reference \u2013 12 \u2013  Thrower &#8211; Part 8 &#8211; MaterialsOnCollide"},"content":{"rendered":"<h3>MaterialsOnCollide<\/h3>\n<p>Use this to alter the behavior of the Palette due to material properties changing after a collision.<\/p>\n<p>you MUST specify them in this order.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Gravity, Friction, Density, Bounciness<\/strong><\/span><\/p>\n<p><strong><span style=\"color: #ff00ff;\">Gravity &#8211; Range [-1.0 <span style=\"color: #000000;\">&#8211;<\/span> 28.0]<br \/>\nFriction &#8211; Range [0.0<span style=\"color: #000000;\">\u00a0&#8211;<\/span> 255.0]<br \/>\nDensity &#8211; Range [1.0<span style=\"color: #000000;\">\u00a0&#8211;<\/span> 22587.0]<br \/>\nBounciness &#8211; Range [0.0 to 1.0]<\/p>\n<p><span style=\"color: #000000;\">Example:<\/span><br \/>\n<span style=\"color: #ff0000;\">MaterialsOnCollide<\/span>,<span style=\"color: #0000ff;\">on,0.2,10.0,10.0,0.1<\/span><\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MaterialsOnCollide Use this to alter the behavior of the Palette due to material properties changing after a collision. you MUST specify them in this order. Gravity, Friction, Density, Bounciness Gravity &#8211; Range [-1.0 &#8211; 28.0] Friction &#8211; Range [0.0\u00a0&#8211; 255.0] Density &#8211; Range [1.0\u00a0&#8211; 22587.0] Bounciness &#8211; Range [0.0 to 1.0] Example: MaterialsOnCollide,on,0.2,10.0,10.0,0.1<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,4,1],"tags":[],"_links":{"self":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3380"}],"collection":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3380"}],"version-history":[{"count":2,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3380\/revisions"}],"predecessor-version":[{"id":3382,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3380\/revisions\/3382"}],"wp:attachment":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}