{"id":2030,"date":"2025-09-04T16:16:33","date_gmt":"2025-09-04T15:16:33","guid":{"rendered":"https:\/\/kankiprojects.com\/?p=2030"},"modified":"2025-09-04T16:16:35","modified_gmt":"2025-09-04T15:16:35","slug":"robots-in-unity","status":"publish","type":"post","link":"https:\/\/kankiprojects.com\/es\/robots-in-unity\/","title":{"rendered":"Robots in Unity"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p>In this last practice of the Media for Video Games subject we must make a pseudo-fighting game with the characters we have made during the course.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"development\">Development<\/h2>\n\n\n\n<p>My intention is to make a very simple simulation of the video game Pacific Rim: The Game in 2.5D (that is, with the characters moving only in the Y and X axis even if it is in a 3D environment).<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Duel in Alaska - Gipsy Danger vs Knifehead  | Pacific Rim: The Game\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/wJQYtIMkIok?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>I have recreated an environment by importing different free assets from the Store (links in the references section), recreating a post-apocalyptic world with sunken cities in the ocean as a background. I have also included a night sky skybox to give more realism and a dark environment.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.folio.uoc.edu\/private\/wp-content\/uploads\/sites\/19359\/2024\/12\/12110313\/Captura-de-pantalla-2024-12-12-110254-scaled.jpg?Expires=1756999726&amp;Signature=gm82LYVkANBJBoRLNdDINHmf~bSfUsYGG94TjBPjZMhVINvlaERoC9udiRSYA4EZnK-23wQHj6Pk16JDL2MzPZLfM3zXtfiDfiLIZ0gcypIgEpmBi1wZkPEP0Ip-lWjfV9gW-EPU25eJ-IATsJ7tVXPLyms8lM5-37iLfx-UOvwksRlBqixxsB5MfdcuNN--J8pu-vMTkEIlI5wDH4H8FSGuTi8RbsPOVNh-i~SZXpX~s-LIeht7v3VqaT1TlTLkiVo3iKD8LwH0rWTmbcsvNsCggiU5VVHXHhLEwYrb5-K0fZqe~0rcDtgOGW-MTZ-7QjrF7FjbBndWb7nKPvvEtg__&amp;Key-Pair-Id=K3T7EYR9NMFURT\" alt=\"\" class=\"wp-image-471\"\/><\/figure>\n\n\n\n<p>I have included the \u201cAnimation Rigging\u201d and \u201cCinemachine\u201d packages to better control the movements of the characters and the tracking of the camera.<\/p>\n\n\n\n<p>To start with the programming and animations, I added physics components to all the elements. The robot has a RigidBody with a Capsule Collider and, on the other hand, the floor has a Box Collider. Important to block the rotation and movement of the Z axis of the rigid body with constraints.<\/p>\n\n\n\n<p>I have been writing and improving the robot player script with ChatGPT. Basically, it consists of a state machine that transitions according to key input and calls the appropriate animations according to each state. This approach will allow me to add the game logic simply afterwards.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.folio.uoc.edu\/private\/wp-content\/uploads\/sites\/19359\/2024\/12\/12110438\/Captura-de-pantalla-2024-12-12-105517.jpg?Expires=1756999726&amp;Signature=GhH2s-cVEtneFuybZio0Uzc8JnV5KWDLOuhk~-kkwOAuSO2toDRCAWQMf9WxhD3-GGeRize31RBNedHpHmIDy1nPPhOMbBvxB53PSRnUX01UNfQRLNvvbO5QBhiHP5E99u3gyhESbjzbzgb75yAsr3atEuexDnE16TAO~~yrKEIAds~h3AxbItkzrwLKx5qrQJ5wYHOg~olI3XQ6bo9~CdOq-6Uq86GORrjwTnceNeUToysgHOcxN7kuQNLtHAuQE9UsQkPTJbTdCuU06kL8nSa74GqmIR-b-1oEof8PoVNNrA90Mr9GwTs~zxaPeGq-PLHWUjMqq8uTByU9Oi0J~A__&amp;Key-Pair-Id=K3T7EYR9NMFURT\" alt=\"\" class=\"wp-image-473\"\/><\/figure>\n\n\n\n<p>I created this animator controller where the default animation is Idle. This can transition bidirectionally with Walking depending on the speed parameter. Afterwards the rest of the animations can start from any state and when finished return to Idle (except Defeat, which ends the state machine).&nbsp;&nbsp;<strong>CORRECTION:&nbsp;<\/strong>&nbsp;the transition to exit must be removed, otherwise the Defeat animation stays in Loop when defeated.<\/p>\n\n\n\n<p>The first &#8220;problem&#8221; I encountered was that the animations did not transition unless I had finished the clip. Fortunately, this has an easy fix: you only need to uncheck the &#8220;Has Exit Time&#8221; box in the transition of the corresponding animations.<\/p>\n\n\n\n<p>Something similar happened when a key was held down, since the animation was constantly restarted. I was able to solve this by code making it impossible to transition between states until the attack or defense animations have finished.<\/p>\n\n\n\n<p>I have written in code that when the character walks in the opposite direction to the one he started, the animation is reversed (from speed 1 to speed -1) so that it has the effect of walking backwards with the WalkingSpeed \u200b\u200bparameter.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.folio.uoc.edu\/private\/wp-content\/uploads\/sites\/19359\/2024\/12\/13130710\/Captura-de-pantalla-2024-12-13-130624.jpg?Expires=1756999726&amp;Signature=n3grOvP0XZ1CZ11n47MmEkcfgS97YZQ8ThVDkC6AneRkJYPM60PWVkwT0zG9S6TgBFAMZ~vB5wwnny6WESd~d6plPthhOaveXE0X0hKdN8cb~nXr4DJ72XzMrVoc~0d0Fe9i2tVnx4qJ73uMxom9553nSWQUGSYki~7nxumdWVruYKxYVO7S54vIS0BpfWRyrLaUfYVx8f3-8bi4YQyu5isE552idgBUGWSvlLzSw9nQD2D77hv7WfUARzoSCiiT9OQqW39JsyiDgnv6~1SX-~c1ecu1gSGrccAbxjCD6LA6vFcDg-0j5tIM-QMQdvWqZcbcjTwbBjtjvgdzWtYedw__&amp;Key-Pair-Id=K3T7EYR9NMFURT\" alt=\"\" class=\"wp-image-483\"\/><\/figure>\n\n\n\n<p>When applying what was done in the V1 to the V2 I have encountered some other inconvenience. First, the Walking animation for some reason was exported with 40 frozen frames so I had to cut it. Fortunately, from the Unity inspector this can easily be done. With this robot, it doesn&#8217;t feel so good to reverse the animation to make it walk backwards, but all the parameters are correct, so it must be an artistic problem from the previous practice.&nbsp;&nbsp;<strong>CORRECTION:&nbsp;<\/strong>&nbsp;it turns out that the problem is that when turning the robot, the leg that starts to walk should be reversed. In other words, flipping the character has solved it.<\/p>\n\n\n\n<p>I have added two invisible barriers on the sides so that the characters cannot leave the camera. Finally I have not used Cinemachine to track the characters.<\/p>\n\n\n\n<p>At this point I added two BoxCollider as Trigger in front of the robots to activate the fist area when the animation is executed. I have also made them have a life indicator (100 points) and that if they are defending themselves they cannot suffer damage. As an extra, I added a particle system that throws sparks when they hit to give more feedback. To put it in writing,&nbsp;this game does not pretend to be balanced or to give a fair combat experience.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.folio.uoc.edu\/private\/wp-content\/uploads\/sites\/19359\/2024\/12\/17132758\/Captura-de-pantalla-2024-12-17-132648-scaled.jpg?Expires=1756999726&amp;Signature=m8wxEHmi~ucKLct2UobH5siePjs22dNvtPLJq7NOona52xi2Pp-NjA-rI8hbMNag4wCvvVhRh-4LTRV~qy~DQB8w7WubRge1lUMmYiZOOR6~GmeyZspQ2Sb8qEDwDwCm8-nHdod-STSa4B8AmXmbrc0jBrlA~kkHhLeaExrt9OrqiyQYzQYWFyUCyo9Bn93yyi3dEValNt-VvOFIXz1AzP3xvutSAQ1L-A4xc5UgSYQp~oJ3h-Do2tkMPnjp~1sSFPzM1~FCrv3bsTghLc6SnfJM6exPLJGope47lvBQKZSvyM-58A39-dBmpg99O4eNjWKcbSrcTvEkSVhsapXGgQ__&amp;Key-Pair-Id=K3T7EYR9NMFURT\" alt=\"\" class=\"wp-image-490\"\/><\/figure>\n\n\n\n<p>For the SFX I used several PixaBay audios and played them at specific moments in the script. The SFX that are reproduced are: Attack, Defeat, Impact and Walking.<\/p>\n\n\n\n<p>For the logic of the menu I created a GameManager with an FSM for the different states of the game: GameStart, GameRunning, GamePaused, GameWinnerV1, GameWinnerV2. The menus are gameObjects with buttons, since it seemed much easier to do so than creating a new scene for the main menu, etc. I have also made it play music in a loop and some effects to start and finish the game.<\/p>\n\n\n\n<p>Finally, to export with WebGL I installed the WebGL publisher package and created a local build for debuggear. At the beginning the Vrbn Studios store asset gave me some problems, but I removed all the related scripts from the project (since they provided functionality that I didn&#8217;t need for the buildings). In this way it was already compiling (with several warnings in the console, but they are unforgivable).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.folio.uoc.edu\/private\/wp-content\/uploads\/sites\/19359\/2024\/12\/19132056\/Captura-de-pantalla-2024-12-19-131929.png?Expires=1756999726&amp;Signature=piHxNEmii1-D9sD5PzTamY-DjUkVhTP6jAuwedY6g-5v~S8ca80UO2fq86eDb2VtdqxZgmuracec1YlRrjKOeN6BlLFU9vw76Jp4C5oPK4tmjneZBfgNulD3GFHPaIT57cwLS-OJew8b1mhfvw-NywEqv7HxU7y~pgF01D4N68DWmR4w6j7nYJknTUkPMlByagZ5v0XFJ8a5CURa33IbmKWJmF6e9~Kyh8QpMrUcuKCSSxRjvkNebn8fjYlX8ME6QtUDr8D-CoAAAS9QYvDjUxmTO2vBjiaSgpAoSS-cXSC6a2ntyxABT5lbFGTsT-58zc4SYL92yBKOX3ITQnMz7g__&amp;Key-Pair-Id=K3T7EYR9NMFURT\" alt=\"\" class=\"wp-image-507\"\/><\/figure>\n\n\n\n<p>Now comes the moment I dreaded the most, which is that the project seems to be too big to be exported in WebGL. After an afternoon of trial and error, I managed to export it correctly by importing all the parts of the project one at a time into a previous version of Unity and compressing the files. Even so, the buildings continued to give problems, so he opted for the quick way: make a pre-rendered one and put it as a flat texture in the background. This method is very effective in terms of performance, and more so for a web version. In addition, with the blur effects and others it is not so noticeable. I should have thought about using it before, really.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.folio.uoc.edu\/private\/wp-content\/uploads\/sites\/19359\/2024\/12\/19181224\/FakeBG.png?Expires=1756999726&amp;Signature=lHrelLh4QE8-g5WRneOS~4wT~Z77MH3Ul-Ue6iLtJuUDQdka3De4~-NG2Or6W4iZIdXeCP5hc~oSaRaFb09W0VzQoQsCMDDQ5or24KhMv8t3xQhx6MjRzKjKOGmQSAfUtqz7toz1p8kDeFg-oPd3c~l0uyqJWNfIlV34Ne5pXB2CPpY4QqvjH9TQAehH78qSYxGqRSNsIPyjv70JwPzuiOISQCU4XDecmmJAOEhfeq00-czLVgWPTPxLxKxzqosqafh9zFwSj4vxlvBdG8iMC3FeFeeneD1pRsbQWRrGqcQaDP77NEeCjAjdTCCIXH3NaH218uH1XnzydmFPUwoWjg__&amp;Key-Pair-Id=K3T7EYR9NMFURT\" alt=\"\" class=\"wp-image-514\"\/><\/figure>\n\n\n\n<p>Buildings with Alpha channel applied.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.folio.uoc.edu\/private\/wp-content\/uploads\/sites\/19359\/2024\/12\/19181205\/Captura-de-pantalla-2024-12-19-181148.jpg?Expires=1756999726&amp;Signature=hofKiIWelnGMOU4-YKkH6EqSa2HOSojK6rIxzX6tLy2v-RdN4Lr7AC3qCgEa7euqN8pZ2PLCyyopIYpcN8hvryTQ6GJZsfIpkbQc3KBmpGVNaioeHqv-P-kyohsemQGo0N9xpHt74a7vSgISnx8AhFqCRo1tTzD7o-7Zdp8DkUR~vlex3af-jKzl2wqoarMnXYei6DbnYfKYj~~XKwFl6odZLog8SKOIpAwtvE1T~vXBcR-eXGSlX8ni0lsgY-DYX6A7j8cHzMTvwGRRPKY9Q5WBRkk2SqVhxsfxDvTUpImp9qAstYE9y5U-FOWdIXxYudumxD58f7tSntEpbvhYMw__&amp;Key-Pair-Id=K3T7EYR9NMFURT\" alt=\"\" class=\"wp-image-513\"\/><\/figure>\n\n\n\n<p>Final result exported with WebGL Publisher.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"webgl-game\">WebGL game<\/h2>\n\n\n\n<p><a href=\"https:\/\/play.unity.com\/en\/games\/fd351b12-9199-4035-b0f0-7ddf4167c32b\/buildwebgl\/edit\">Mecha Battle! \u2013 Unity Play<\/a><\/p>\n\n\n\n<p>Note: I tried to embed the project with an iframe from both Itch.io and Unity Play, but this service&#8217;s WordPress does not allow it.<\/p>\n\n\n\n<p>The repository of the whole project can be found publicly in GitLab:&nbsp;<a href=\"https:\/\/gitlab.com\/jongompal\/r5-mecha-battle.git\">https:\/\/gitlab.com\/jongompal\/r5-mecha-battle.git<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"vision-of-the-future\">Vision of the future<\/h2>\n\n\n\n<p>The truth is that the result is simple, but I am very happy with the final packaging and how the models integrate with the environment. Obviously, it could be expanded much more with more animations, characters, environments, more types of attack and make a more attractive combat system.<\/p>\n\n\n\n<p>The truth is that I was very attracted to the idea of \u200b\u200bmaking a more strategic and slow combat instead of one in which every millisecond counts and fast reflexes are the jewel in the crown. I think that it is an unexplored perspective of the genre and that it combines very well with the aesthetics of Mechas that I wanted to transmit.<\/p>\n\n\n\n<p>In the hypothetical case that I was in the future betting on this concept, I would clearly do a total redesign, thinking a lot more about the mechanics and recreating the artistic section accordingly (although it wouldn&#8217;t have been bad to investigate the reverse path for once).<\/p>\n\n\n\n<p>To finish, say that the point that fails me are still the animations. They are the section that clearly requires more work and that is more unnatural. Therefore, in a future project of this style I would look for ways to further integrate the engine&#8217;s tools with external ones and even investigate whether it would be possible to create procedural animations that adapt to the environment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"references\">References<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>OpenAI. ChatGPT 4.0 [Version 19 December 2024]. Used for game scripts and error correction. Chat available at:\u00a0<a href=\"https:\/\/chatgpt.com\/share\/676458eb-4cfc-800b-ac35-8d737287f1a4\">https:\/\/chatgpt.com\/share\/676458eb-4cfc-800b-ac35-8d737287f1a4<\/a><\/li>\n\n\n\n<li>Music Sound Effect by\u00a0<a href=\"https:\/\/pixabay.com\/users\/brvhrtz-33128829\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=music&amp;utm_content=233462\">https:\/\/pixabay.com\/users\/brvhrtz-33128829\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=music&amp;utm_content=233462<\/a><\/li>\n\n\n\n<li>All SFX can be found at\u00a0<a href=\"https:\/\/pixabay.com\/\">https:\/\/pixabay.com<\/a><\/li>\n\n\n\n<li>Commander Karl. (2022, November 23).\u00a0<em>How to make badass metal impact sparks (Unity Tutorial)<\/em>\u00a0[Video]. YouTube.\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=B5W3vUYveIk\">https:\/\/www.youtube.com\/watch?v=B5W3vUYveIk<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>vrbn Studios Free Buildings URP Bundle 001 | Urban 3D | Unity Asset Store<\/em>\u00a0. (2024, January 20). Unity Asset Store.\u00a0<a href=\"https:\/\/assetstore.unity.com\/packages\/3d\/environments\/urban\/vrbn-studios-free-buildings-urp-bundle-001-264015\">https:\/\/assetstore.unity.com\/packages\/3d\/environments\/urban\/vrbn-studios-free-buildings-urp-bundle-001-264015<\/a><\/li>\n\n\n\n<li>Hightech Font:\u00a0<a href=\"https:\/\/www.fontspace.com\/hightech-font-f103861\">https:\/\/www.fontspace.com\/hightech-font-f103861<\/a><\/li>\n\n\n\n<li><em>Skybox Series Free | 2D Sky | Unity Asset Store<\/em>\u00a0. (2017, December 1). Unity Asset Store.\u00a0<a href=\"https:\/\/assetstore.unity.com\/packages\/2d\/textures-materials\/sky\/skybox-series-free-103633\">https:\/\/assetstore.unity.com\/packages\/2d\/textures-materials\/sky\/skybox-series-free-103633<\/a><\/li>\n\n\n\n<li><em>Simple Water Shader URP | 2D Water | Unity Asset Store<\/em>\u00a0. (2021, April 16). Unity Asset Store.\u00a0<a href=\"https:\/\/assetstore.unity.com\/packages\/2d\/textures-materials\/water\/simple-water-shader-urp-191449\">https:\/\/assetstore.unity.com\/packages\/2d\/textures-materials\/water\/simple-water-shader-urp-191449<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this last practice of the Media for Video Games subject we must make a pseudo-fighting game with the characters we have made during the course. Development My intention is to make a very simple simulation of the video game Pacific Rim: The Game in 2.5D (that is, with the characters moving only in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2031,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[14,19,12],"tags":[23,22],"class_list":["post-2030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d","category-art","category-development","tag-studies","tag-unity"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Robots in Unity - Kanki Projects<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kankiprojects.com\/es\/robots-in-unity\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Robots in Unity - Kanki Projects\" \/>\n<meta property=\"og:description\" content=\"Introduction In this last practice of the Media for Video Games subject we must make a pseudo-fighting game with the characters we have made during the course. Development My intention is to make a very simple simulation of the video game Pacific Rim: The Game in 2.5D (that is, with the characters moving only in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kankiprojects.com\/es\/robots-in-unity\/\" \/>\n<meta property=\"og:site_name\" content=\"Kanki Projects\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-04T15:16:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-04T15:16:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kankiprojects.com\/wp-content\/uploads\/2025\/09\/Captura-de-pantalla-2024-12-16-192228.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1870\" \/>\n\t<meta property=\"og:image:height\" content=\"1041\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/#\\\/schema\\\/person\\\/0e11590f4b7d2062bd82d8af59428401\"},\"headline\":\"Robots in Unity\",\"datePublished\":\"2025-09-04T15:16:33+00:00\",\"dateModified\":\"2025-09-04T15:16:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/\"},\"wordCount\":1395,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/#\\\/schema\\\/person\\\/0e11590f4b7d2062bd82d8af59428401\"},\"image\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kankiprojects.com\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/Captura-de-pantalla-2024-12-16-192228.jpg\",\"keywords\":[\"Studies\",\"Unity\"],\"articleSection\":[\"3D\",\"Art\",\"Development\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/\",\"url\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/\",\"name\":\"Robots in Unity - Kanki Projects\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kankiprojects.com\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/Captura-de-pantalla-2024-12-16-192228.jpg\",\"datePublished\":\"2025-09-04T15:16:33+00:00\",\"dateModified\":\"2025-09-04T15:16:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kankiprojects.com\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/Captura-de-pantalla-2024-12-16-192228.jpg\",\"contentUrl\":\"https:\\\/\\\/kankiprojects.com\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/Captura-de-pantalla-2024-12-16-192228.jpg\",\"width\":1870,\"height\":1041},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/robots-in-unity\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kankiprojects.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Robots in Unity\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/#website\",\"url\":\"https:\\\/\\\/kankiprojects.com\\\/\",\"name\":\"Kanki Projects\",\"description\":\"Digital Artist Portfolio\",\"publisher\":{\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/#\\\/schema\\\/person\\\/0e11590f4b7d2062bd82d8af59428401\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kankiprojects.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/kankiprojects.com\\\/#\\\/schema\\\/person\\\/0e11590f4b7d2062bd82d8af59428401\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/kankiprojects.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Profile_picture.png?fit=600%2C600&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/kankiprojects.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Profile_picture.png?fit=600%2C600&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/kankiprojects.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Profile_picture.png?fit=600%2C600&ssl=1\",\"width\":600,\"height\":600,\"caption\":\"admin\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/kankiprojects.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Profile_picture.png?fit=600%2C600&ssl=1\"},\"sameAs\":[\"https:\\\/\\\/kankiprojects.com\"],\"url\":\"https:\\\/\\\/kankiprojects.com\\\/es\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Robots in Unity - Kanki Projects","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kankiprojects.com\/es\/robots-in-unity\/","og_locale":"es_ES","og_type":"article","og_title":"Robots in Unity - Kanki Projects","og_description":"Introduction In this last practice of the Media for Video Games subject we must make a pseudo-fighting game with the characters we have made during the course. Development My intention is to make a very simple simulation of the video game Pacific Rim: The Game in 2.5D (that is, with the characters moving only in [&hellip;]","og_url":"https:\/\/kankiprojects.com\/es\/robots-in-unity\/","og_site_name":"Kanki Projects","article_published_time":"2025-09-04T15:16:33+00:00","article_modified_time":"2025-09-04T15:16:35+00:00","og_image":[{"width":1870,"height":1041,"url":"https:\/\/kankiprojects.com\/wp-content\/uploads\/2025\/09\/Captura-de-pantalla-2024-12-16-192228.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"admin","Tiempo de lectura":"8 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kankiprojects.com\/robots-in-unity\/#article","isPartOf":{"@id":"https:\/\/kankiprojects.com\/robots-in-unity\/"},"author":{"name":"admin","@id":"https:\/\/kankiprojects.com\/#\/schema\/person\/0e11590f4b7d2062bd82d8af59428401"},"headline":"Robots in Unity","datePublished":"2025-09-04T15:16:33+00:00","dateModified":"2025-09-04T15:16:35+00:00","mainEntityOfPage":{"@id":"https:\/\/kankiprojects.com\/robots-in-unity\/"},"wordCount":1395,"commentCount":0,"publisher":{"@id":"https:\/\/kankiprojects.com\/#\/schema\/person\/0e11590f4b7d2062bd82d8af59428401"},"image":{"@id":"https:\/\/kankiprojects.com\/robots-in-unity\/#primaryimage"},"thumbnailUrl":"https:\/\/kankiprojects.com\/wp-content\/uploads\/2025\/09\/Captura-de-pantalla-2024-12-16-192228.jpg","keywords":["Studies","Unity"],"articleSection":["3D","Art","Development"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kankiprojects.com\/robots-in-unity\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kankiprojects.com\/robots-in-unity\/","url":"https:\/\/kankiprojects.com\/robots-in-unity\/","name":"Robots in Unity - Kanki Projects","isPartOf":{"@id":"https:\/\/kankiprojects.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kankiprojects.com\/robots-in-unity\/#primaryimage"},"image":{"@id":"https:\/\/kankiprojects.com\/robots-in-unity\/#primaryimage"},"thumbnailUrl":"https:\/\/kankiprojects.com\/wp-content\/uploads\/2025\/09\/Captura-de-pantalla-2024-12-16-192228.jpg","datePublished":"2025-09-04T15:16:33+00:00","dateModified":"2025-09-04T15:16:35+00:00","breadcrumb":{"@id":"https:\/\/kankiprojects.com\/robots-in-unity\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kankiprojects.com\/robots-in-unity\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/kankiprojects.com\/robots-in-unity\/#primaryimage","url":"https:\/\/kankiprojects.com\/wp-content\/uploads\/2025\/09\/Captura-de-pantalla-2024-12-16-192228.jpg","contentUrl":"https:\/\/kankiprojects.com\/wp-content\/uploads\/2025\/09\/Captura-de-pantalla-2024-12-16-192228.jpg","width":1870,"height":1041},{"@type":"BreadcrumbList","@id":"https:\/\/kankiprojects.com\/robots-in-unity\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kankiprojects.com\/"},{"@type":"ListItem","position":2,"name":"Robots in Unity"}]},{"@type":"WebSite","@id":"https:\/\/kankiprojects.com\/#website","url":"https:\/\/kankiprojects.com\/","name":"Kanki Projects","description":"Digital Artist Portfolio","publisher":{"@id":"https:\/\/kankiprojects.com\/#\/schema\/person\/0e11590f4b7d2062bd82d8af59428401"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kankiprojects.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":["Person","Organization"],"@id":"https:\/\/kankiprojects.com\/#\/schema\/person\/0e11590f4b7d2062bd82d8af59428401","name":"admin","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/i0.wp.com\/kankiprojects.com\/wp-content\/uploads\/2023\/07\/Profile_picture.png?fit=600%2C600&ssl=1","url":"https:\/\/i0.wp.com\/kankiprojects.com\/wp-content\/uploads\/2023\/07\/Profile_picture.png?fit=600%2C600&ssl=1","contentUrl":"https:\/\/i0.wp.com\/kankiprojects.com\/wp-content\/uploads\/2023\/07\/Profile_picture.png?fit=600%2C600&ssl=1","width":600,"height":600,"caption":"admin"},"logo":{"@id":"https:\/\/i0.wp.com\/kankiprojects.com\/wp-content\/uploads\/2023\/07\/Profile_picture.png?fit=600%2C600&ssl=1"},"sameAs":["https:\/\/kankiprojects.com"],"url":"https:\/\/kankiprojects.com\/es\/author\/admin\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/kankiprojects.com\/wp-content\/uploads\/2025\/09\/Captura-de-pantalla-2024-12-16-192228.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/posts\/2030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/comments?post=2030"}],"version-history":[{"count":1,"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/posts\/2030\/revisions"}],"predecessor-version":[{"id":2032,"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/posts\/2030\/revisions\/2032"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/media\/2031"}],"wp:attachment":[{"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/media?parent=2030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/categories?post=2030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kankiprojects.com\/es\/wp-json\/wp\/v2\/tags?post=2030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}