{"action":"created","issue":{"url":"https://api.github.com/repos/ksundberg/CS5500/issues/36","labels_url":"https://api.github.com/repos/ksundberg/CS5500/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/ksundberg/CS5500/issues/36/comments","events_url":"https://api.github.com/repos/ksundberg/CS5500/issues/36/events","html_url":"https://github.com/ksundberg/CS5500/issues/36","id":59352958,"number":36,"title":"We need a single world model for all of the different views.","user":{"login":"ksundberg","id":1497965,"avatar_url":"https://avatars.githubusercontent.com/u/1497965?v=3","gravatar_id":"","url":"https://api.github.com/users/ksundberg","html_url":"https://github.com/ksundberg","followers_url":"https://api.github.com/users/ksundberg/followers","following_url":"https://api.github.com/users/ksundberg/following{/other_user}","gists_url":"https://api.github.com/users/ksundberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ksundberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksundberg/subscriptions","organizations_url":"https://api.github.com/users/ksundberg/orgs","repos_url":"https://api.github.com/users/ksundberg/repos","events_url":"https://api.github.com/users/ksundberg/events{/privacy}","received_events_url":"https://api.github.com/users/ksundberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-28T18:51:04Z","updated_at":"2015-03-03T00:28:42Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/ksundberg/CS5500/issues/comments/76861740","html_url":"https://github.com/ksundberg/CS5500/issues/36#issuecomment-76861740","issue_url":"https://api.github.com/repos/ksundberg/CS5500/issues/36","id":76861740,"user":{"login":"meissnereric","id":6857699,"avatar_url":"https://avatars.githubusercontent.com/u/6857699?v=3","gravatar_id":"","url":"https://api.github.com/users/meissnereric","html_url":"https://github.com/meissnereric","followers_url":"https://api.github.com/users/meissnereric/followers","following_url":"https://api.github.com/users/meissnereric/following{/other_user}","gists_url":"https://api.github.com/users/meissnereric/gists{/gist_id}","starred_url":"https://api.github.com/users/meissnereric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meissnereric/subscriptions","organizations_url":"https://api.github.com/users/meissnereric/orgs","repos_url":"https://api.github.com/users/meissnereric/repos","events_url":"https://api.github.com/users/meissnereric/events{/privacy}","received_events_url":"https://api.github.com/users/meissnereric/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T00:28:42Z","updated_at":"2015-03-03T00:28:42Z","body":"\r\n\r\nSo here are some questions and thoughts on voxels and physics.\r\n\r\nIs voxel engine a view or a model?\r\n  Dumb “view model”?\r\n    Is it ok to have chunks loaded that are not in view?\r\n    What variables does it care about?\r\n    Do we need to persist during gameplay things that aren’t the chunk manager?\r\n    What kind of data structure do we store non block objects in?\r\n      player, workers, baseball bats\r\n    Where do we store physics data\r\n\r\nPersistence\r\n    Which chunks are on RAM and which ones are on disk?\r\n    Just around the players?\r\n    What about workers?\r\n    Physics?\r\n\r\nPhysics\r\n    What kinds of variables need to be tracked?\r\n    Pos/Vel/Acc\r\n    Where should those variables be?\r\n Block\r\nsome external data system (physics engine?)\r\nPhysics engine only has reference to objects undergoing physics and handles variables \r\nThings that recently got touched by the player / workers / other things undergoing physics\r\nShould they persist on disk write?\r\nWhat happens when an object attempts to leave the loaded area?\r\nPause before entering unloaded chunk\r\nmaybe more variables to track\r\nDo we just set velocity = 0 there? Or do we remember?\r\nDelete it as entering unloaded chunk\r\nperhaps an invisible force field destroys it ;)\r\nLoad the chunk its going into\r\ncould bog down the world\r\n"}}