{"id":377,"date":"2011-11-29T12:37:40","date_gmt":"2011-11-29T12:37:40","guid":{"rendered":"http:\/\/www.west-racing.com\/mf\/?page_id=377"},"modified":"2016-11-22T11:39:40","modified_gmt":"2016-11-22T11:39:40","slug":"warps","status":"publish","type":"page","link":"http:\/\/www.west-racing.com\/mf\/?page_id=377","title":{"rendered":"Warps"},"content":{"rendered":"<p>Warps are modifiers that happen in a different space to the local space of the object, usually this means the world space but could be another objects local space etc.<\/p>\n<p>This is the base class for Space Warps, so most of these params will work across all space warps. Exceptions being ripple where it ignores the size and uses a radius value.<br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/warp.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/warp.jpg\" alt=\"\" title=\"Warp Common Params\" width=\"267\" height=\"175\" class=\"alignright size-full wp-image-2602 fancy\" \/><\/a><\/p>\n<h3>Warp Param Description<\/h3>\n<h4><strong>Width<\/strong><\/h4>\n<p>Width of the warp<\/p>\n<h4><strong>Height<\/strong><\/h4>\n<p>Height of the warp<\/p>\n<h4><strong>Length<\/strong><\/h4>\n<p>Length(depth) of the warp<\/p>\n<h4><strong>Decay<\/strong><\/h4>\n<p>Decay value for the effect, this will effect all objects bound to the warp<\/p>\n<h4><strong>Enabled<\/strong><\/h4>\n<p>Is warp on<\/p>\n<h4><strong>DisplaGizmo<\/strong><\/h4>\n<p>Enable display of the gizmo in the editor<\/p>\n<h3>World Space Warps<\/h3>\n<p>The Warps currently included in the system are:<\/p>\n<table>\n<tr>\n<td width=\"200px\" align=\"center\">\n<div class=\"quote\">\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2551\" title=\"Bend Warp\">Bend<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2576\" title=\"Noise Warp\">Noise<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2587\" title=\"Ripple Warp\">Ripple<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2571\" title=\"Skew Warp\">Skew<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2560\" title=\"Stretch Warp\">Stretch<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2566\" title=\"Taper Warp\">Taper<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2556\" title=\"Twist Warp\">Twist<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=380\" title=\"Wave Warp\">Wave<\/a>\n<\/td>\n<td width=\"200px\" align=\"center\">\n<div class=\"quote\">\nBubble<br \/>\nCylindridy<br \/>\nGlobe<br \/>\nHump<br \/>\nSinus Curve<br \/>\nSpherify<br \/>\nWaving<br \/>\nFFD2x2x2\n<\/td>\n<td width=\"200px\" align=\"center\">\n<div class=\"quote\">\nFFD3x3x3<br \/>\nFFD4x4x4<br \/>\nZStretch<br \/>\nSqueeze<br \/>\nMelt\n<\/td>\n<\/tr>\n<\/div>\n<\/table>\n<h3>Warp Class<\/h3>\n<p>[cc lang=&#8221;c#&#8221;]public class MegaWarp : MonoBehaviour<br \/>\n{<br \/>\n\tpublic float    Width;<br \/>\n\tpublic float    Height;<br \/>\n\tpublic float    Length;<br \/>\n\tpublic float    Decay;<br \/>\n\tpublic bool     Enabled;<br \/>\n\tpublic bool     DisplayGizmo;<br \/>\n}[\/cc]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Warps are modifiers that happen in a different space to the local space of the object, usually this means the world space but could be another objects local space etc. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":38,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/377"}],"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=377"}],"version-history":[{"count":7,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/377\/revisions"}],"predecessor-version":[{"id":6598,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/377\/revisions\/6598"}],"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=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}