{"id":390,"date":"2011-11-29T15:37:45","date_gmt":"2011-11-29T15:37:45","guid":{"rendered":"http:\/\/www.west-racing.com\/mf\/?page_id=390"},"modified":"2012-07-16T15:03:17","modified_gmt":"2012-07-16T15:03:17","slug":"megashapes","status":"publish","type":"page","link":"http:\/\/www.west-racing.com\/mf\/?page_id=390","title":{"rendered":"MegaShapes"},"content":{"rendered":"<p><a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/Scatter2.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/Scatter2-300x226.jpg\" alt=\"\" title=\"Scatter2\" width=\"300\" height=\"226\" class=\"alignright size-medium wp-image-1067 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/Scatter2-300x226.jpg 300w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/Scatter2-1024x772.jpg 1024w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/Scatter2-200x150.jpg 200w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/Scatter2-680x512.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/Scatter2.jpg 1252w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nMegaShape is a spline object system. It allows the user to build shapes using knots and control the shape with handles on each knot. These shapes can then be used for camera paths, Ai or used in other systems such as MegaFiers to define deformation paths or in a scatter system to define areas to be filled. To use you can create an empty object in the scene and add the MegaShape script to it and then click add knot to build the spline up. Or you can select one of the helper shapes include in the system such as Star or Circle to get you started and add and remove knots or change their tangents, positions etc from there. Each knot can be selected and moved by left clicking on the knot of handle and dragging to get the desired shape. There is an option to close the shape as well.<br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaspline.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaspline-300x168.jpg\" alt=\"\" title=\"megaspline\" width=\"300\" height=\"168\" class=\"alignleft size-medium wp-image-1069 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaspline-300x168.jpg 300w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaspline-1024x574.jpg 1024w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaspline-680x381.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaspline.jpg 1277w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nAnother option for building splines is to use 3DS Max and use the MegaShapes custom exporter to export the shapes and any animation data and then use the &#8216;Load&#8217; button in the inspector to import that data directly into Unity, this allows you to use the extensive shape editing methods in Max as well as the animation systems to get complex paths for say camera paths into Unity.<\/p>\n<p>To add a shape go to the GameObject Menu then Create Other then Mega Shapes, and select the start shape you want.<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ms2.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ms2-300x153.jpg\" alt=\"\" title=\"ms2\" width=\"300\" height=\"153\" class=\"alignright size-medium wp-image-1678 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ms2-300x153.jpg 300w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ms2-1024x523.jpg 1024w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ms2-680x347.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ms2.jpg 1905w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> Or there is a Mega Shapes window under the Windows menu which you can dock if you like. The system also comes with an exporter for 3ds Max to allow for easy export of shapes and any shape animations to Unity. Also included are scripts to allow objects to move along the splines with control over rotation etc similar to the path controllers in Max. This system is included in the MegaFiers system.<br \/>\n<div class=\"message_box info_box\">\n<p class=\"message_box_sign info_box_sign\">Info<\/p>\n<\/p>\n<div align=\"center\">MegaShapes Basic is included in the MegaFiers system<\/div>\n<p>\n<\/div><\/p>\n<h3>Included Starter Shapes<\/h3>\n<div class=\"quote\" style=\"width: 200px;\">\n<div align=\"center\">\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2536\" title=\"Arc\">Arc<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2525\" title=\"Circle\">Circle<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=1178\" title=\"Ellipse\">Ellipse<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=2540\" title=\"Helix\">Helix<\/a><br \/>\n<a title=\"NGon\" href=\"http:\/\/www.west-racing.com\/mf\/?page_id=500\">NGon<\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/?page_id=1189\" title=\"Rectangle\">Rectangle<\/a><br \/>\n<a title=\"Star Shape\" href=\"http:\/\/www.west-racing.com\/mf\/?page_id=396\">Star<\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"message_box info_box\">\n<p class=\"message_box_sign info_box_sign\">Info<\/p>\nIf you have 3DS Max make sure to ask for the exporter so you can get your shapes from Max into Unity\n<\/div>\n<h3>Video showing export of shape from Max &amp; Animation<\/h3>\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=nAVs9gynICg&#038;hd=1&#038;fs=1&#038;autoplay=1\" class=\"fancybox-youtube\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ytspline.jpg\" alt=\"\" title=\"MegaShape Video Click to Play\" width=\"680\" height=\"384\" class=\"aligncenter size-full wp-image-1414 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ytspline.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ytspline-300x169.jpg 300w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MegaShape is a spline object system. It allows the user to build shapes using knots and control the shape with handles on each knot. These shapes can then be used [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"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\/390"}],"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=390"}],"version-history":[{"count":52,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/390\/revisions"}],"predecessor-version":[{"id":394,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/390\/revisions\/394"}],"wp:attachment":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}