After the previous part, where we revamped the weapon system, we will be fixing some bugs with our weapon system. Following that, we will be creating some of the more commonly-seen weapons in Vampire Survivors.
Creating a Rogue-like (like Vampire Survivors) in Unity — Part 16: New Weapons and Bugfixes
This article is a part of the series:
Creating a Rogue-like Shoot 'Em Up (like Vampire Survivors) in Unity
Hello. I have only been a patron for a few days, I hope you can help me. I have a problem with my axe. It only moves upwards, and as far as I understand it should be affected by gravity, but I think we turned it off in the first videos. I can’t remember, to be honest. Is it necessary to enable gravity in the project settings and disable it for all weapon prefabs or did I miss something? (I write all the code manually from the screen, so I understand it better, and I’ve checked everything several times, everything is fine)
(translated from DeepL)
Translated with http://www.DeepL.com/Translator (free version)
Thank you for your support Phantom. Yes, you have to turn on Gravity, because the arc motion of the axe is created by Gravity. Then, head over to all of your Player, Enemy and Pickup prefabs, and turn the Gravity Scale off to 0 on their Rigidbody2D. This should stop Gravity from affecting them.
Hello, I am a member of Terresquall’s Patreon. Currently, I not only cannot access Terresquall’s Patreon but also cannot leave messages on Terresquall’s Patreon.
Hi Yidu, really sorry that this happened. Can you check if you are logged in with the correct Patreon account. You might have logged in with an account that does not have a Patreon subscription.