{"id":3268,"date":"2016-07-24T02:37:09","date_gmt":"2016-07-24T01:37:09","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=3268"},"modified":"2016-07-24T02:37:09","modified_gmt":"2016-07-24T01:37:09","slug":"p-152-virtual-world-concept-update-138-planet-sized-terrain-part-17-collision","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-152-virtual-world-concept-update-138-planet-sized-terrain-part-17-collision\/","title":{"rendered":"P-152: Virtual World Concept Update 138: Planet-sized Terrain: Part 17: Collision"},"content":{"rendered":"<p>I have fixed the collision issue that I was having with the terrain. This seems to have been a pre-existing bug that I never noticed before.<\/p>\n<p>It took some time to track down, since some of the collision faces were working.<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-02_58_41-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3272\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-02_58_41-AM-300x194.jpg\" alt=\"P152_DEBUG 20\/07\/2016 , 02:58:41 AM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-02_58_41-AM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-02_58_41-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-02_58_41-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-02_58_41-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>P152_DEBUG<br \/>\n20\/07\/2016 , 02:58:41 AM<br \/>\nTorque 3D MIT &#8211; P152<\/p>\n<p>I used gnuplot to visualise the collision list and the render list, and they both seemed to be correct:<\/p>\n<figure id=\"attachment_3271\" aria-describedby=\"caption-attachment-3271\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-07_43_19-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3271\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-07_43_19-AM-300x238.jpg\" alt=\"wgnuplot 20\/07\/2016 , 07:43:19 AM Gnuplot (window id : 0)\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-07_43_19-AM-300x238.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-07_43_19-AM-768x610.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-07_43_19-AM-1024x813.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-07_43_19-AM.jpg 1168w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3271\" class=\"wp-caption-text\">wgnuplot<br \/>20\/07\/2016 , 07:43:19 AM<br \/>Gnuplot (window id : 0)<\/figcaption><\/figure>\n<figure id=\"attachment_3270\" aria-describedby=\"caption-attachment-3270\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_32_10-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3270\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_32_10-PM-300x238.jpg\" alt=\"wgnuplot 20\/07\/2016 , 08:32:10 PM Gnuplot (window id : 0)\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_32_10-PM-300x238.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_32_10-PM-768x610.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_32_10-PM-1024x813.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_32_10-PM.jpg 1168w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3270\" class=\"wp-caption-text\">wgnuplot<br \/>20\/07\/2016 , 08:32:10 PM<br \/>Gnuplot (window id : 0)<\/figcaption><\/figure>\n<p>But when I plotted both the collision nodes and the renderable nodes on the same graph, I noticed that as the below images shows, the collision\u00a0list&#8217;s nodes\u00a0(in green) only contained some of the nodes that they should have.<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_3275\" aria-describedby=\"caption-attachment-3275\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_09_29-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3275\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_09_29-PM-300x238.jpg\" alt=\"wgnuplot 20\/07\/2016 , 08:09:29 PM Gnuplot (window id : 0)\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_09_29-PM-300x238.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_09_29-PM-768x610.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_09_29-PM-1024x813.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_09_29-PM.jpg 1168w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3275\" class=\"wp-caption-text\">wgnuplot<br \/>20\/07\/2016 , 08:09:29 PM<br \/>Gnuplot (window id : 0)<\/figcaption><\/figure>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-02_47_51-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3269\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-02_47_51-AM-300x238.jpg\" alt=\"wgnuplot 21\/07\/2016 , 02:47:51 AM Gnuplot (window id : 0)\" width=\"300\" height=\"238\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-02_47_51-AM-300x238.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-02_47_51-AM-768x610.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-02_47_51-AM-1024x813.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-02_47_51-AM.jpg 1168w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>wgnuplot<br \/>\n21\/07\/2016 , 02:47:51 AM<br \/>\nGnuplot (window id : 0)<\/p>\n<p>I was then able to get the collision working. For now, I am adding all nodes to the collision list, however when I implement the changes to the Level of Detail system, I will need to cull out most of the rendered nodes.<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3276\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM-300x194.jpg\" alt=\"P152_DEBUG 20\/07\/2016 , 08:30:17 PM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>P152_DEBUG<br \/>\n20\/07\/2016 , 08:30:17 PM<br \/>\nTorque 3D MIT &#8211; P152<\/p>\n<figure id=\"attachment_3274\" aria-describedby=\"caption-attachment-3274\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_18_48-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3274\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_18_48-AM-300x194.jpg\" alt=\"P152_DEBUG 21\/07\/2016 , 03:18:48 AM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_18_48-AM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_18_48-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_18_48-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_18_48-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3274\" class=\"wp-caption-text\">P152_DEBUG<br \/>21\/07\/2016 , 03:18:48 AM<br \/>Torque 3D MIT &#8211; P152<\/figcaption><\/figure>\n<figure id=\"attachment_3273\" aria-describedby=\"caption-attachment-3273\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_19_57-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3273\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_19_57-AM-300x194.jpg\" alt=\"P152_DEBUG 21\/07\/2016 , 03:19:57 AM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_19_57-AM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_19_57-AM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_19_57-AM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-21_07_2016-03_19_57-AM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3273\" class=\"wp-caption-text\">P152_DEBUG<br \/>21\/07\/2016 , 03:19:57 AM<br \/>Torque 3D MIT &#8211; P152<\/figcaption><\/figure>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3276\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM-300x194.jpg\" alt=\"P152_DEBUG 20\/07\/2016 , 08:30:17 PM Torque 3D MIT - P152\" width=\"300\" height=\"194\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM-300x194.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM-768x498.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM-1024x664.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/07\/PhoenixGameDevelopment-20_07_2016-08_30_17-PM.jpg 1922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>P152_DEBUG<br \/>\n20\/07\/2016 , 08:30:17 PM<br \/>\nTorque 3D MIT &#8211; P152<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have fixed the collision issue that I was having with the terrain. This seems to have been a pre-existing bug that I never noticed before. It took some time to track down, since some of the collision faces were working. P152_DEBUG 20\/07\/2016 , 02:58:41 AM Torque 3D MIT &#8211; P152 I used gnuplot to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17,10,11],"tags":[],"class_list":["post-3268","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3268"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=3268"}],"version-history":[{"count":4,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3268\/revisions"}],"predecessor-version":[{"id":3280,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3268\/revisions\/3280"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=3268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=3268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=3268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}