{"id":1610,"date":"2016-08-17T03:35:55","date_gmt":"2016-08-16T19:35:55","guid":{"rendered":"http:\/\/www.clonefactor.com\/wordpress\/?page_id=1610"},"modified":"2016-08-17T18:49:15","modified_gmt":"2016-08-17T10:49:15","slug":"camerabot-method-section-setup","status":"publish","type":"page","link":"https:\/\/www.clonefactor.com\/wordpress\/unity3d-show-room\/camerabot\/camerabot-method-section-setup\/","title":{"rendered":"CameraBot Method section setup"},"content":{"rendered":"<p><iframe loading=\"lazy\" title=\"CameraBot ver 3.0, Method section setup\" width=\"1260\" height=\"945\" src=\"https:\/\/www.youtube.com\/embed\/CQdjvrOSUTA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<p>This session is made for the camera movement method, the panel you may visualize in video will look like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1611\" src=\"http:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/08\/method.jpg\" alt=\"method\" width=\"539\" height=\"272\" srcset=\"https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/08\/method.jpg 539w, https:\/\/www.clonefactor.com\/wordpress\/wp-content\/uploads\/2016\/08\/method-300x151.jpg 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p>&#8220;Update Angle&#8221;<br \/>\nThis parameter is used to define when and how to update the camera orbit angle with chase target.<\/p>\n<ul>\n<li>Reset When Active<br \/>\nReset is related to SwitchCamera(). selecting this the camera will always reset it&#8217;s angle to origin angle position related to chase target forward.<\/li>\n<li>Update When Active<br \/>\nSwitchCamera() will no longer trigger reset, even player change that camera angle, later when they switch back to this camera preset, the same angle will remain.<\/li>\n<li>Update always<br \/>\nNo matter the camera preset is activate or deactivate, the input stream will keep update the orbit angle position for this preset, useful when developer wanted to\u00a0synchronize multiple camera angle.<\/li>\n<\/ul>\n<p>&#8220;Move Method&#8221;<br \/>\nto control the camera position movement method<\/p>\n<ul>\n<li>Snap<br \/>\nimmediately teleport to\u00a0destination camera idea position.<\/li>\n<li>Lerp<br \/>\ncreate a smooth path toward destination camera idea position.<\/li>\n<li>QuaternionLerp<br \/>\nhave another name &#8220;SLerp&#8221;, create a smooth path toward destination camera idea position. with a little more curve effect (that&#8217;s what they said)<\/li>\n<li>OrbitLerp<br \/>\ncreate a smooth path toward destination camera idea position, but ensure the orbit path are correct. Avoid pass through the target and remain the distance with chase target<\/li>\n<\/ul>\n<p>&#8220;position speed&#8221;<br \/>\nthis parameter are depends on &#8220;Move Method&#8221;, smaller amount will result in slow motion, higher amount will travel to destination faster.<\/p>\n<p>&#8220;Rotate Method&#8221;<br \/>\nto control the camera rotation method<\/p>\n<ul>\n<li>Snap<br \/>\nimmediately teleport to destination camera idea angle.<\/li>\n<li>Lerp<br \/>\ncreate a smooth turn toward destination camera idea angle.<\/li>\n<li>QuaternionLerp<br \/>\nhave another name &#8220;SLerp&#8221;, create a smooth turn toward destination camera idea angle.<\/li>\n<li>LerpUnclamped<br \/>\nsave as &#8220;Lerp&#8221; but result in faster calculation, but\u00a0because the value are inaccurate may create some undetectable camera shake.<\/li>\n<\/ul>\n<p>&#8220;Angle Accuracy&#8221;,\u00a0<a href=\"https:\/\/youtu.be\/CQdjvrOSUTA?t=197\">https:\/\/youtu.be\/CQdjvrOSUTA?t=197<\/a><br \/>\nwhen player input steam turning the camera idea angle too far away your setting.\u00a0(e.g. 90 degree.), the later input value will start to scale down (smaller)<br \/>\nand wait until the real camera angle to catch up the camera idea angle.<br \/>\nthis will help to reduce the overturn and improve the input accuracy for continue input.<br \/>\nusually happen when &#8220;position speed&#8221; are setting too slow, and player input steam\u00a0frequency are setting too high, the idea angle will easier overturn.<\/p>\n<p>&#8220;Is Related Angle&#8221;,\u00a0<a href=\"https:\/\/youtu.be\/CQdjvrOSUTA?t=356\">https:\/\/youtu.be\/CQdjvrOSUTA?t=356<\/a><br \/>\nBy <strong>Enable<\/strong> this feature, camera will actor like a child gameobject of chase target, when chase target start turn, camera will stay in the same angle related to chase target forward.<br \/>\nBy <strong>Disable<\/strong> this feature, camera will not follow the chase target forward rotation, but still able to collide with &#8220;Clamp angle limit&#8221;, however if there are 360 degree, no angle limit, the camera will just stay in the same position as before.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This session is made for the camera movement metho &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1250,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"full-width-page.php","meta":{"footnotes":""},"class_list":["post-1610","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/pages\/1610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1610"}],"version-history":[{"count":0,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/pages\/1610\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/pages\/1250"}],"wp:attachment":[{"href":"https:\/\/www.clonefactor.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}