{"id":3993,"date":"2015-10-17T17:13:18","date_gmt":"2015-10-17T14:13:18","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=3993"},"modified":"2015-10-25T16:55:02","modified_gmt":"2015-10-25T13:55:02","slug":"custom-particle-system-simulation","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2015\/10\/17\/custom-particle-system-simulation\/","title":{"rendered":"Custom Particle System Simulation"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3997\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/10\/17\/custom-particle-system-simulation\/particle_simulation_fountain_unity3d_1\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_1.gif?fit=300%2C160&amp;ssl=1\" data-orig-size=\"300,160\" 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;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"particle_simulation_fountain_unity3D_1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_1.gif?fit=300%2C160&amp;ssl=1\" class=\"alignnone size-full wp-image-3997\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_1.gif?resize=300%2C160\" alt=\"particle_simulation_fountain_unity3D_1\" width=\"300\" height=\"160\" \/><\/p>\n<p>Started making Handmade Hero particle system with Unity+c#<\/p>\n<p>View source project in Github (still work in progress)<br \/>\n<a href=\"https:\/\/github.com\/unitycoder\/CaseyParticlesForUnity\" target=\"_blank\">https:\/\/github.com\/unitycoder\/CaseyParticlesForUnity<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>See original <a href=\"http:\/\/handmadehero.org\/\" target=\"_blank\">HandMadeHero <\/a>videos here:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=G6OGKP3MaUI\">https:\/\/www.youtube.com\/watch?v=G6OGKP3MaUI<\/a> (Handmade Hero Day 155 &#8211; Introduction to Particle Systems)<\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=HH_iaJairW8\">https:\/\/www.youtube.com\/watch?v=HH_iaJairW8<\/a> (Handmade Hero Day 156 &#8211; Lagrangian vs. Eulerian Simulation)<\/li>\n<\/ul>\n<p>&#8212;<\/p>\n<p><strong>Image#2:<\/strong> Updated version<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4001\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/10\/17\/custom-particle-system-simulation\/particle_simulation_fountain_unity3d_2\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_2.gif?fit=256%2C287&amp;ssl=1\" data-orig-size=\"256,287\" 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;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"particle_simulation_fountain_unity3D_2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_2.gif?fit=256%2C287&amp;ssl=1\" class=\"alignnone size-full wp-image-4001\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_2.gif?resize=256%2C287\" alt=\"particle_simulation_fountain_unity3D_2\" width=\"256\" height=\"287\" \/><\/p>\n<p>&#8212;<\/p>\n<p><strong>Image#3:<\/strong> Using local direction, can rotate particle system<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4004\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/10\/17\/custom-particle-system-simulation\/particle_simulation_fountain_unity3d_3\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_3.gif?fit=268%2C206&amp;ssl=1\" data-orig-size=\"268,206\" 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;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"particle_simulation_fountain_unity3D_3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_3.gif?fit=268%2C206&amp;ssl=1\" class=\"alignnone size-full wp-image-4004\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/particle_simulation_fountain_unity3D_3.gif?resize=268%2C206\" alt=\"particle_simulation_fountain_unity3D_3\" width=\"268\" height=\"206\" \/><\/p>\n<p>&#8212;<\/p>\n<p><strong>Image#4:<\/strong> Better values and density push fixes<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4022\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/10\/17\/custom-particle-system-simulation\/unity_particles_water_fountain_3\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/unity_particles_water_fountain_3.gif?fit=238%2C186&amp;ssl=1\" data-orig-size=\"238,186\" 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;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"unity_particles_water_fountain_3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/unity_particles_water_fountain_3.gif?fit=238%2C186&amp;ssl=1\" class=\"alignnone size-full wp-image-4022\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/unity_particles_water_fountain_3.gif?resize=238%2C186\" alt=\"unity_particles_water_fountain_3\" width=\"238\" height=\"186\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Started making Handmade Hero particle system with Unity+c# View source project in Github (still work in progress) https:\/\/github.com\/unitycoder\/CaseyParticlesForUnity &nbsp; See original HandMadeHero videos here: https:\/\/www.youtube.com\/watch?v=G6OGKP3MaUI (Handmade Hero Day 155 &#8211; Introduction to Particle Systems) https:\/\/www.youtube.com\/watch?v=HH_iaJairW8 (Handmade Hero Day 156 &#8211; Lagrangian vs. Eulerian Simulation) &#8212; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3994,"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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[660,3],"tags":[568,473,119,775,779,759,228,472,774,268],"class_list":["post-3993","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-opensource","category-unity3d","tag-custom","tag-eulerian","tag-fluid","tag-fountain","tag-lagrangian","tag-particles","tag-physics","tag-simulation","tag-sprites","tag-system"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/10\/custom_particle_system_simulation_unity3d.jpg?fit=385%2C236&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-12p","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3993","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=3993"}],"version-history":[{"count":9,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3993\/revisions"}],"predecessor-version":[{"id":4023,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/3993\/revisions\/4023"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/3994"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=3993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=3993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=3993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}