{"id":875,"date":"2012-04-07T22:40:11","date_gmt":"2012-04-07T19:40:11","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=875"},"modified":"2013-09-26T22:54:27","modified_gmt":"2013-09-26T19:54:27","slug":"verlet-integration","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2012\/04\/07\/verlet-integration\/","title":{"rendered":"Verlet Integration"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"876\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2012\/04\/07\/verlet-integration\/verlet_integration_unity1\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/04\/verlet_integration_unity1.jpg?fit=680%2C549&amp;ssl=1\" data-orig-size=\"680,549\" 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=\"verlet_integration_unity1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/04\/verlet_integration_unity1.jpg?fit=680%2C549&amp;ssl=1\" class=\"alignnone size-full wp-image-876\" title=\"verlet_integration_unity1\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/04\/verlet_integration_unity1.jpg?resize=680%2C549\" width=\"680\" height=\"549\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/04\/verlet_integration_unity1.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/04\/verlet_integration_unity1.jpg?resize=300%2C242&amp;ssl=1 300w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/04\/verlet_integration_unity1.jpg?resize=200%2C160&amp;ssl=1 200w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p>Testing <a title=\"http:\/\/en.wikipedia.org\/wiki\/Verlet_integration\" href=\"http:\/\/en.wikipedia.org\/wiki\/Verlet_integration\">Verlet Integration<\/a> for Unity, converted from processing\/java. (screenshot doesnt look too interesting..)<br \/>\n(<em>Verlet Integration Example by Ira Greenberg , licensed under Creative Commons Attribution-Share Alike 3.0 and GNU GPL license)<\/em><\/p>\n<p>So far the ropelines work fine, looks like realistic physics..<\/p>\n<p>Not sure if I can make it work completely.. It would need custom functions for drawing elliples, lines, building meshes.<br \/>\nso most likely give up this for a while atleast..<br \/>\n<strong>Webplayer:<\/strong><br \/>\n(demo is using Debug.DrawLine() so cannot make webplayer..)<\/p>\n<p><strong>Download source:<\/strong><br \/>\n<a title=\"Download Source\" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=1322&amp;uid=un1t3c0d5r\" target=\"_blank\">verletTest.unityPackage<\/a><\/p>\n<p>(enable gizmos to see debug drawlines)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Testing Verlet Integration for Unity, converted from processing\/java. (screenshot doesnt look too interesting..) (Verlet Integration Example by Ira Greenberg , licensed under Creative Commons Attribution-Share Alike 3.0 and GNU GPL license) So far the ropelines work fine, looks like realistic physics.. Not sure if I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":876,"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":[93,230,228,229,227],"class_list":["post-875","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-algorithm","tag-newtons-equations-of-motion","tag-physics","tag-rope","tag-verlet-integration"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/04\/verlet_integration_unity1.jpg?fit=680%2C549&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-e7","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/875","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=875"}],"version-history":[{"count":5,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions"}],"predecessor-version":[{"id":2441,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions\/2441"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/876"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}