{"id":503,"date":"2012-01-30T16:49:48","date_gmt":"2012-01-30T13:49:48","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=503"},"modified":"2013-08-15T22:09:40","modified_gmt":"2013-08-15T19:09:40","slug":"fake-splat-with-particles-unity","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2012\/01\/30\/fake-splat-with-particles-unity\/","title":{"rendered":"Fake Splat With Particles"},"content":{"rendered":"<p><a href=\"http:\/\/unitycoder.com\/upload\/demos\/mSplashTest1\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"504\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2012\/01\/30\/fake-splat-with-particles-unity\/msplash1\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/01\/msplash1.jpg?fit=680%2C531&amp;ssl=1\" data-orig-size=\"680,531\" 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=\"msplash1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/01\/msplash1.jpg?fit=680%2C531&amp;ssl=1\" class=\"alignnone  wp-image-504\" title=\"msplash1\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/01\/msplash1.jpg?resize=680%2C531\" width=\"680\" height=\"531\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/01\/msplash1.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/01\/msplash1.jpg?resize=300%2C234&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Quick test for wall &#8220;splat&#8221;.. (faking it with particles..)<\/p>\n<p><strong>How it (kind of) works:<\/strong><br \/>\n&#8211; On mouse click, instantiate splat mesh prefab, random z-rotation<br \/>\n&#8211; Prefab has mesh particle emitter ([x] one shot, force+random force to give particles varying speeds)<br \/>\n&#8211; Destroy object after 10 secs (would be better to fade it.. and with 3.5 you can fade the particles easily too.)<\/p>\n<p><strong>Webplayer:<\/strong><br \/>\n<a href=\"http:\/\/unitycoder.com\/upload\/demos\/mSplashTest1\/\" target=\"_blank\">http:\/\/unitycoder.com\/upload\/demos\/mSplashTest1\/<\/a><\/p>\n<p><strong>Download source:<\/strong> (js)<br \/>\n<a title=\"Download\" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=115&amp;uid=un1t3c0d5r\" target=\"_blank\">mSplash.unityPackage<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick test for wall &#8220;splat&#8221;.. (faking it with particles..) How it (kind of) works: &#8211; On mouse click, instantiate splat mesh prefab, random z-rotation &#8211; Prefab has mesh particle emitter ([x] one shot, force+random force to give particles varying speeds) &#8211; Destroy object after 10 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":504,"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":[137,136,135],"class_list":["post-503","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-blood","tag-splash","tag-splat"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/01\/msplash1.jpg?fit=680%2C531&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-87","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/503","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=503"}],"version-history":[{"count":5,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":2305,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/503\/revisions\/2305"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/504"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}