{"id":77,"date":"2009-04-18T21:55:54","date_gmt":"2009-04-18T19:55:54","guid":{"rendered":"http:\/\/blog.ansuz.nl\/?p=77"},"modified":"2009-05-03T18:51:41","modified_gmt":"2009-05-03T16:51:41","slug":"first-unity3d-experiment","status":"publish","type":"post","link":"http:\/\/blog.ansuz.nl\/index.php\/2009\/04\/18\/first-unity3d-experiment\/","title":{"rendered":"First Unity3D experiment"},"content":{"rendered":"<p>I started doing some experimenting with Unity3D and I must say I love it so far! \ud83d\ude00<br \/>\nAs a first test I wanted to be able &#8216;drive&#8217; a simple car and have some collision detection.<br \/>\nOne problem I ran into was being able to switch cameras. There is no method available at the moment to retrieve all cameras in a scene, what you can do is retrieve all enabled cameras. What most people, including myself, end up doing is creating a script that allows you to set an X number of cameras and you toggle between those.<\/p>\n<p><a href=\"http:\/\/ansuz.nl\/toys\/unity3d\/movetest\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ansuz.nl\/toys\/unity3d\/movetest\/screenshot.jpg\" alt=\"My first Unity3D test\" width=\"450\" height=\"338\" \/><\/a><\/p>\n<p><em>Click the image to see my first test running.<\/em><\/p>\n<p>Controls:<br \/>\nMove: w,a,s,d<br \/>\nToggle camera: c<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>I started doing some experimenting with Unity3D and I must say I love it so far! \ud83d\ude00 As a first test I wanted to be able &#8216;drive&#8217; a simple car and have some collision detection. One problem I ran into &hellip; <a href=\"http:\/\/blog.ansuz.nl\/index.php\/2009\/04\/18\/first-unity3d-experiment\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[144],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-unity3d","tag-unity3d"],"_links":{"self":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":1,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":82,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/77\/revisions\/82"}],"wp:attachment":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}