![]() ![]() Whether an object is huge or tiny doesn't change the complexity of the calculation. Adding force due to gravity is just another step and considering spherical arcs from shellers and the paths orbital units take during interplanetary flight are already in the game, I'm guessing it's already coded. Plenty of games already update the position property of their entities by integrating acceleration and speed to find position each game frame. Objects are distinct in RAM the only reason it would disappear is if its last reference disappeared, and even then, only in a language with garbage collection. The planet wouldn't be destroyed, but even if it was, changing the parent of an object is similarly trivial you just change the "parent" pointer/reference to a new object. Considering how many moving objects and projectiles are already on the screen, it's barely a dent in the computational complexity of the simulation. ![]() In case it's not obvious, a moon would probably be child to the planet it orbits, becasue it would make the fact that it's movement is bound to the planet much easier to code and much more efficient to process for your PC.įor a computer, the math is trivial, as is the code. A child can be destroyed by it's parent, but the reverse is not true without a third party to actually do the destroying, and when said parent is destroyed, it's children are orphaned and disappear too. You wanna do the maths for what happens to any other moons orbiting that planet afterwards, (becasue the actual movement of the planet toward the moon is going to vastly skew thier exit trajectories)? No? Well nor did the devs.Īlso, in reference to the coding. If a moon can be altered into a decaying orbit until it hits a planet, the planet can also be altered until it hits the moon. We also share information about your use of our website with our social media, advertising and analytics partners.Originally posted by Memory Lapse:Unfortunately, F = Gmm/r^2 says that two bodies orbit eachother with equal force. We use cookies to personalize content and ads, provide social media features, and analyze the use of our website. This helps us measure the effectiveness of our marketing campaigns. ![]() Microsoft Advertising uses these cookies to anonymously identify user sessions. It also serves behaviorally targeted ads on other websites, similar to most specialized online marketing companies. The Facebook cookie is used by it's parent company Meta to monitor behavior on this website in order to serve targeted ads to its users when they are logged into its services. Google will use this information for the purpose of evaluating your use of the website, compiling reports on website activity for us and providing other services relating to website activity and internet usage. The purpose of Google Analytics is to analyze the traffic on our website. Security (protection against CSRF Cross-Site Request Forgery) Stores login sessions (so that the server knows that this browser is logged into a user account) which cookies were accepted and rejected). Storage of the selection in the cookie banner (i.e. being associated with traffic metrics and page response times. ![]() Random ID which serves to improve our technical services by i.e. Server load balancing, geographical distribution and redundancy ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |