{"id":653,"date":"2011-12-04T23:58:21","date_gmt":"2011-12-04T23:58:21","guid":{"rendered":"http:\/\/www.west-racing.com\/mf\/?page_id=653"},"modified":"2011-12-05T13:53:52","modified_gmt":"2011-12-05T13:53:52","slug":"crumple","status":"publish","type":"page","link":"http:\/\/www.west-racing.com\/mf\/?page_id=653","title":{"rendered":"Crumple"},"content":{"rendered":"<p>Crumple is the MegaFiers version of the Crumple example found in the <a href=\"http:\/\/unity3d.com\/support\/resources\/example-projects\/procedural-examples.html\" title=\"Unity Procedural Examples\">Unity Procedural Examples<\/a> and is a simple Perlin noise deformer. If you need a more controllable Noise modifier then use the main Noise modifier.<br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megacrumple.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megacrumple.jpg\" alt=\"\" title=\"megacrumple\" width=\"244\" height=\"114\" class=\"alignright size-full wp-image-687 fancy\" \/><\/a><\/p>\n<h3>Crumple Param Description<\/h3>\n<h4><strong>Scale<\/strong><\/h4>\n<p>How much the noise deforms the mesh, this value is used for all 3 axis.<\/p>\n<h4><strong>Speed<\/strong><\/h4>\n<p>If animate is on then this can be used to change the speed of the animation.<\/p>\n<h4><strong>Phase<\/strong><\/h4>\n<p>Current phase of the noise, you can manually adjust this till you have a deformation you are happy with.<\/p>\n<h4><strong>Animate<\/strong><\/h4>\n<p>Turn this on for the the modifier to animate at runtime.<\/p>\n<p>[cc lang=&#8221;c#&#8221;]public class MegaCrumple : MegaModifier<br \/>\n{<br \/>\n\tpublic float   scale;<br \/>\n\tpublic float   speed;<br \/>\n\tpublic float   phase;<br \/>\n\tpublic bool    animate;<br \/>\n}[\/cc]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Crumple is the MegaFiers version of the Crumple example found in the Unity Procedural Examples and is a simple Perlin noise deformer. If you need a more controllable Noise modifier [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":38,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/653"}],"collection":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=653"}],"version-history":[{"count":4,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/653\/revisions"}],"predecessor-version":[{"id":4649,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/653\/revisions\/4649"}],"up":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/38"}],"wp:attachment":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}