{"id":5,"date":"2011-08-07T15:32:33","date_gmt":"2011-08-07T12:32:33","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=5"},"modified":"2013-08-11T17:06:51","modified_gmt":"2013-08-11T14:06:51","slug":"meshslicer1","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2011\/08\/07\/meshslicer1\/","title":{"rendered":"Fake Mesh Slicer v1.0"},"content":{"rendered":"<p><a href=\"http:\/\/unitycoder.com\/upload\/demos\/slicer1\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"27\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2011\/08\/07\/meshslicer1\/slicer1\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/slicer1.jpg?fit=580%2C408&amp;ssl=1\" data-orig-size=\"580,408\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"slicer1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/slicer1.jpg?fit=580%2C408&amp;ssl=1\" class=\"alignnone size-full wp-image-27\" title=\"slicer1\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/slicer1.jpg?resize=580%2C408\" width=\"580\" height=\"408\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/slicer1.jpg?w=580&amp;ssl=1 580w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/slicer1.jpg?resize=300%2C211&amp;ssl=1 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>Just a test project.. : )<\/p>\n<p><strong>FakeSlicer<\/strong><br \/>\n&#8211; Slicing a box (but not really)<br \/>\n&#8211; It works by adjusting box size\/vertices and cloning a prefab box as a new slice object<br \/>\n&#8211; Sliceplane is &#8220;fake&#8221;, just Y value is used for getting a location<br \/>\n&#8211; Adjusts rigidbody weights based on object size\/density (so each slice has &#8220;correct&#8221; weight)<br \/>\n&#8211; Missing: texture adjustment (now it shrinks..)<\/p>\n<p><strong>webplayer:<\/strong><br \/>\n<a title=\"http:\/\/unitycoder.com\/upload\/demos\/slicer1\/\" href=\"http:\/\/unitycoder.com\/upload\/demos\/slicer1\/\" target=\"_blank\">http:\/\/unitycoder.com\/upload\/demos\/slicer1\/<\/a><br \/>\nw\/s = move plane up\/down<br \/>\na = slice<br \/>\nmouse = drag objects<br \/>\n<em>*sometimes objects fall through the ground..refresh demo to try again<\/em><\/p>\n<p><strong>download source:<\/strong><br \/>\n<a title=\"Download Source\" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=1&amp;uid=un1t3c0d5r\" target=\"_blank\"> fakeslicer1.unityPackage<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a test project.. : ) FakeSlicer &#8211; Slicing a box (but not really) &#8211; It works by adjusting box size\/vertices and cloning a prefab box as a new slice object &#8211; Sliceplane is &#8220;fake&#8221;, just Y value is used for getting a location &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":27,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,3],"tags":[7,5,6],"class_list":["post-5","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-fake","tag-mesh","tag-slice"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/slicer1.jpg?fit=580%2C408&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-5","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":23,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":2205,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5\/revisions\/2205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/27"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}