NotoriousENG / BADAS_Scripts

Free and open-source code for game development for all of you BADAS's out there!
MIT License
6 stars 2 forks source link

Weapons Lite Not Firing #3

Closed DarkflameX9 closed 4 years ago

DarkflameX9 commented 4 years ago

I followed the tutorials to the best of my abilities, however my character still won't fire projectiles. I was using a sidescroller set up and the only weapon I wanted the player to have was a projectile "spell". I'm pretty sure its something on my end, but I couldn't tell. Fire1 didn't seem to be working at all.

Player Projectile Weapon

NotoriousENG commented 4 years ago

IsAttacking will never be true, because in PlayerAnimController, animator.SetBool("isAttacking", true); sets "isAttacking" to true not "IsAttacking". Make sure the name is exactly isAttacking in your Animator parameters Edit meant to say isAttacking