{"id":2587,"date":"2012-07-17T12:28:27","date_gmt":"2012-07-17T12:28:27","guid":{"rendered":"http:\/\/www.west-racing.com\/mf\/?page_id=2587"},"modified":"2012-07-17T12:28:27","modified_gmt":"2012-07-17T12:28:27","slug":"ripple-warp","status":"publish","type":"page","link":"http:\/\/www.west-racing.com\/mf\/?page_id=2587","title":{"rendered":"Ripple Warp"},"content":{"rendered":"<p><a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ripple.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ripple-1024x305.jpg\" alt=\"\" title=\"ripple\" width=\"640\" height=\"190\" class=\"aligncenter size-large wp-image-1007 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ripple-1024x305.jpg 1024w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ripple-300x89.jpg 300w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ripple-680x202.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ripple.jpg 1114w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nThe Ripple warp creates a region in world space where any mesh bound to the warp will ripple as it gets closer. The distance the ripple will start depends on the decay value on the Warp and the Warp Bind which allows different objects to react differently to the warp. The Ripple warp can also be used to apply a ripple to a group of objects.<\/p>\n<p><a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2012\/07\/ripplewarp.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2012\/07\/ripplewarp.jpg\" alt=\"\" title=\"Ripple Warp Params\" width=\"266\" height=\"387\" class=\"alignright size-full wp-image-2588 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2012\/07\/ripplewarp.jpg 266w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2012\/07\/ripplewarp-206x300.jpg 206w\" sizes=\"(max-width: 266px) 100vw, 266px\" \/><\/a><\/p>\n<h3>Ripple Warp Param description<\/h3>\n<h4><strong>Amp\/ Amp 2<\/strong><\/h4>\n<p>Amplitude 1 produces a ripple across the object in one direction, while Amplitude 2 creates a similar ripple at right angles to the first (that is, rotated 90 degrees about the vertical axis).<\/p>\n<h4><strong>Wave<\/strong><\/h4>\n<p>Specifies the distance between the peaks of the wave. The greater the length, the smoother and more shallow the ripple for a given amplitude.<\/p>\n<h4><strong>Phase<\/strong><\/h4>\n<p>Shifts the ripple pattern over the object. Positive numbers move the pattern inward, while negative numbers move it outward. This effect becomes especially clear when animated.<\/p>\n<h4><strong>Decay<\/strong><\/h4>\n<p>Limits the effect of the wave generated from its center. The value of 0.0 means that the wave will generate infinitely from its center. Increasing the Decay value causes the wave amplitudes to decrease with distance from the center, thus limiting the distance over which the waves are generated.<\/p>\n<h4><strong>Animate<\/strong><\/h4>\n<p>Animate the ripple.<\/p>\n<h4><strong>Radius<\/strong><\/h4>\n<p>Radius of the gizmo.<\/p>\n<h4><strong>Segments<\/strong><\/h4>\n<p>Number of segments in the gizmo.<\/p>\n<h4><strong>Circles<\/strong><\/h4>\n<p>Number of circles in the gizmo.<\/p>\n<h3>Ripple Warp Class<\/h3>\n<p>[cc lang=&#8221;c#&#8221;]public class MegaRippleWarp : MegaWarp<br \/>\n{<br \/>\n\tpublic float  amp;<br \/>\n\tpublic float  amp2;<br \/>\n\tpublic float  flex;<br \/>\n\tpublic float  wave;<br \/>\n\tpublic float  phase;<br \/>\n\tpublic float  Decay;<br \/>\n\tpublic bool   animate;<br \/>\n}[\/cc]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Ripple warp creates a region in world space where any mesh bound to the warp will ripple as it gets closer. The distance the ripple will start depends on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":377,"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\/2587"}],"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=2587"}],"version-history":[{"count":1,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/2587\/revisions"}],"predecessor-version":[{"id":2589,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/2587\/revisions\/2589"}],"up":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/377"}],"wp:attachment":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}