{"id":1826,"date":"2024-05-10T15:39:55","date_gmt":"2024-05-10T15:39:55","guid":{"rendered":"http:\/\/nbodyphysics.com\/blog\/?p=1826"},"modified":"2024-05-19T13:29:53","modified_gmt":"2024-05-19T13:29:53","slug":"gravity-engine-2","status":"publish","type":"post","link":"https:\/\/nbodyphysics.com\/blog\/gravity-engine-2\/","title":{"rendered":"Gravity Engine 2"},"content":{"rendered":"\n<p><a href=\"https:\/\/assetstore.unity.com\/packages\/slug\/281698\">Gravity Engine 2 <\/a>is now available.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Gravity Engine 2 Unity Asset Promo\" width=\"625\" height=\"352\" src=\"https:\/\/www.youtube.com\/embed\/Yo-PuGEdQpU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Gravity Engine 2 is a completely new, reconceived Unity package for modelling gravitational interactions and orbital mechanics. While it &#8220;stands on the shoulders&#8221; of the long standing and well regarded Gravity Engine Unity asset I created, it is a completely new formulation and a new architecture that retains the core astrodynamics code.<\/p>\n\n\n\n<p>A short list of the highlights:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>significantly simplified experience setting up gravitational systems with fewer components<\/li><li>ability to use multiple evolution engines (no singletons!) in a scene<\/li><li>optional use of the Unity job system to offload physics calculations<\/li><li>clear separation between gravitational computation and the display of objects, optional multiple views (e.g. 3D + map)<\/li><li>simple, focused API<\/li><li>clear separation of world, physics and display scales<\/li><li>support for manual maneuvers, Hohmann and Lambert transfers<\/li><li>propagators for KEPLER, SGP4, ephemeris and PKEPLER motion<\/li><li>support for patched conic evolution<\/li><li>ability to build some\/all of the solar system (planets, moons and small objects) in a sensible hierarchical model using JPL web API<\/li><\/ul>\n\n\n\n<p>The original Gravity Engine was first released in 2015. Nine years later, I know a LOT more about what features get used and what implementation decisions have caused friction in the development of space games. Gravity Engine 2 has been carefully crafted to reduce those points of friction while adding important new capabilities. It provides a solid base for further feature development.<\/p>\n\n\n\n<p>The first release of GE2 is fully capable. Over the next months, more mini-games and demonstrations will be added to match those in the original GE (e.g. porkchop plots, atmosphere model). In addition I am keen to add a three-body integrator to allow modelling of Artemis\/Gateway-style orbits (NRHO trajectories).<\/p>\n\n\n\n<p>GE2 is available at a discount on first release.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/nbodyphysics.com\/ge2\/html\/overviewNew.html\">online documentation<\/a> and video tutorials are all in place, so take a look!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What about Gravity Engine?<\/h2>\n\n\n\n<p>Gravity Engine will live on and I will continue to support it. I realize creating a game takes a long time and jumping to a new gravity engine may not be high on the list of things to do! I will continue to fix bugs and provide support. (As an example of my commitment to packages I have created, I am <em>still<\/em> supporting <a href=\"https:\/\/github.com\/grtensor\/grtensor\">GRTensor<\/a>, a research tool I created in 1995!).<\/p>\n\n\n\n<p>If you bought Gravity Engine in 2024 and want to move to GE2, send your purchase code to nbodyphysics@gmail.com and I&#8217;ll send you a coupon for a free copy of GE2. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gravity Engine 2 is now available. Gravity Engine 2 is a completely new, reconceived Unity package for modelling gravitational interactions and orbital mechanics. While it &#8220;stands on the shoulders&#8221; of the long standing and well regarded Gravity Engine Unity asset I created, it is a completely new formulation and a new architecture that retains the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"jetpack_post_was_ever_published":false,"_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","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1826","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3pCRa-ts","_links":{"self":[{"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/posts\/1826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/comments?post=1826"}],"version-history":[{"count":2,"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/posts\/1826\/revisions"}],"predecessor-version":[{"id":1829,"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/posts\/1826\/revisions\/1829"}],"wp:attachment":[{"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/media?parent=1826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/categories?post=1826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nbodyphysics.com\/blog\/wp-json\/wp\/v2\/tags?post=1826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}