{"id":9111,"date":"2018-05-27T03:12:16","date_gmt":"2018-05-27T07:12:16","guid":{"rendered":"http:\/\/benies-blogs.com\/games\/?p=9111"},"modified":"2018-05-27T05:33:09","modified_gmt":"2018-05-27T09:33:09","slug":"my-greatest-achievement-in-unity-next-to-uploading-my-first-avatar","status":"publish","type":"post","link":"http:\/\/benies-blogs.com\/games\/2018\/05\/27\/my-greatest-achievement-in-unity-next-to-uploading-my-first-avatar\/","title":{"rendered":"My greatest achievement in Unity (next to uploading my first avatar)"},"content":{"rendered":"<p>Even though I&#8217;m still bored with VRChat, the release of the Best Boi model has understandably brought me back to the game. And yesterday, I&#8217;ve done something that\u00a0 surprised even myself (when it worked). And best of all, it makes the two fucking hours that I had to go through (to get this working), not so bad.<\/p>\n<p>So what was it? It&#8217;s a custom animation that has eluded me since the first time I saw someone do it. It&#8217;s a hilarious dancing animation where your avatar starts flailing like a ragdoll, and dancing in place. I wanted to know the name of said animation (and the anime song that&#8217;s perfectly synced to it).<br \/>\nAs the months went on, it&#8217;s like almost everyone had it. But fortune had smiled upon me a day ago (in the Best Boi Discord server). Though I forgot what was said for me to get the info, but I remember something called &#8216;Get Down&#8217;. Surprisingly, the animation is in the animation pack that someone suggested to me, a long time ago! This is EXACTLY what I&#8217;ve been looking for!! \ud83d\ude00<br \/>\nI also finally remembered how to add custom animations, and tried it out ingame (using the wiggly version of the Red Boi). And the &#8220;OoOoOoOoOhhh!!&#8221; part made me lose it, watching the avatar&#8217;s jaw and eyes go everywhere during that part of the dance. Fucking hilarious.<br \/>\nAll that I wanted to do next, is find the song. Which actually <a href=\"https:\/\/www.youtube.com\/watch?v=FkQaQZCzjic\" target=\"_blank\" rel=\"noopener\">wasn&#8217;t hard<\/a> using a quick Youtube search. Just needed to use a Youtube to MP3 converter.<br \/>\n&#8211;<br \/>\nNow came the hard part&#8211; trying to learn how to add the song into an animation (and also properly sync it). Tried to use Google, but it was speaking in a language I couldn&#8217;t understand. Tried asking the VRChat Discord server (as I wanted this to be a secret from the Best Bois). Got someone named &#8216;Moons&#8217; who was willing to help me. Unfortunately, this help turned into a failure as he couldn&#8217;t figure out why the animation wasn&#8217;t playing. Though I was also extremely confused on what the fuck I just did.<br \/>\nIt looked like to me, he asked me to make a duplicate, then copy the &#8216;default&#8217; Best Boi animations into a new animation file. And finally, put the sound with it. How. I just had so many questions, yet all I was doing was confusing the guy, saying he told me exactly what I needed to do to do it, and had no idea why the animation wasn&#8217;t playing.<br \/>\nI was forced to ask in the Best Boi Discord, and it was like I was being ignored by everyone. Either that, or they knew they couldn&#8217;t help me with something like that (which confused and angered me at the same time).<br \/>\nTried asking a few members and mods personally, if they knew how to do this. One nearly tried to help me, but he couldn&#8217;t. Though he referenced me to someone else that should help me. And so I spoke to, who I really want to call &#8220;tutorial voice&#8221;. Because his voice would be perfect to be used in some Unity tutorial videos.<br \/>\nHe basically told me the same thing, except he took it one step further; he got me to realize just what I was doing. Basically, the Get Down animation has files in it, but these files are Read Only by default. Making a duplicate of the model (and a new animation controller), is the only way. But I also have to copy\/paste the files from the old animation to the new one&#8230; and Unity absolutely, positively HATES this with a passion. The moment I try to paste all the files in, it freezes up eternally (while working in the background). It even did this to me, when Moons was helping me.<br \/>\nI had to take (what felt like) two hours, moving 2-3 files at a time. And even this, Unity hated it so much, freezing from just under a minute, to nearly 10 minutes. WHY?! WHY does this have to be a thing?!<br \/>\n&#8212;<br \/>\nBut FINALLY&#8230; I got all the files moved over (including the sound file). Then I tested the animation in Unity, praying all of that work didn&#8217;t go to waste.. and it WORKED!<br \/>\nTried it ingame. The sound was pretty out of sync with the animation, but IT WORKS!! \ud83d\ude00 I DID IT!! I added sound to an animation!<br \/>\nAll there was left to do, was reinstall Audacity and attempt to sync the song (by adding silence to delay it). I also had another issue with the song\/animation not fully playing. This was easily fixed by extending the stop point in the animation&#8217;s sound.<br \/>\nBoth issues were fixed, and I had the music synced with the sound. Though, just how perfect I have it (within the fraction of a millisecond) remains to be seen. I&#8217;ll be trying this out (as a test) with the non-wiggly version of the model.<\/p>\n<p>.<br \/>\nOne last tidbit before I wrap this up. Models that I can&#8217;t find on the Unity store (and don&#8217;t support Unity), I was told that converting them to .fbx (for Unity to support it) in Blender, isn&#8217;t that hard. Yes, I would have to <em>use<\/em> Blender(ugh). But I was told that it&#8217;s just a few clicks, and I can place it as normal in Unity.<br \/>\nThis will come in handy, when I plan to make &#8216;Benie the Dragon Boi&#8217; (based as close as I can, off of my 2D model). This will (if I can get it done in time) be my secret Best Boi model for the Talent Show next Friday. Instead of the meeting, Kibble&#8217;s going to be doing a Best Boi talent show. Where we just walk down the catwalk, showing off our models.<br \/>\nThe winner (or winners), it&#8217;s unsure what they&#8217;ll win, but I think it&#8217;ll be the satisfaction for being damn good at 3D modeling.<br \/>\nTo keep the model a secret, I won&#8217;t be talking about it in here (except either I get it done, I didn&#8217;t get it done in time, or I gave up on it).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Even though I&#8217;m still bored with VRChat, the release of the Best Boi model has understandably brought me back to the game. And yesterday, I&#8217;ve done something that\u00a0 surprised even myself (when it worked). And best of all, it makes &hellip; <a href=\"http:\/\/benies-blogs.com\/games\/2018\/05\/27\/my-greatest-achievement-in-unity-next-to-uploading-my-first-avatar\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60,58],"tags":[],"class_list":["post-9111","post","type-post","status-publish","format-standard","hentry","category-other","category-pc"],"_links":{"self":[{"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/posts\/9111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/comments?post=9111"}],"version-history":[{"count":3,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/posts\/9111\/revisions"}],"predecessor-version":[{"id":9114,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/posts\/9111\/revisions\/9114"}],"wp:attachment":[{"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/media?parent=9111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/categories?post=9111"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benies-blogs.com\/games\/wp-json\/wp\/v2\/tags?post=9111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}