Closed DarkflameX9 closed 4 years ago
Could be an issue with the setup, if you want you might want to check the Lite Mode video on my YouTube. I might need to see more to help you out, I will be in the ORC for tomorrow's Game Design class. I'll be able to stay back for a bit.
We fixed this issue 2 days ago, we realized that for some games the projectile would disappear when being in contact with the player, to fix this try commenting out the killObj line in the else if in MoveProjectile.cs and makes sure everything is set up with appropriate tags, triggers, transitions, like in the Lite Mode video. Additionally, playerWalkBehaviour.cs sets the lastVertical and Horizontal parameters, if you want to use your own movement system that is fine, but add this script to your walking state and change the speed to 0 so that these variables are still set.
I corrected the variable name, however I still don't have any projectiles. I did find out that when the projectile animation ends and returns to the idle animation, the animation stops and the script stops checking for attacking conditions. I'm not sure if that helps at all.