“Bool” changes but “if” doesn’t work correctly
I’m making a game in Unity 2D, the _isAttacking variable becomes true during an attack, and after the attack it becomes false, after which (if the player is still in the attack zone) it instantly becomes true, but neither the animation nor everything else is played again. All relevant points have been marked with comments.
Pause Menu Help Unity
I know this question has been asked many times but mine seems to be slightly different. I am having trouble locking the camera rotation when entering the pause menu. I have tried looking at every single other similar question but those did not help. Hopefully this will. I have attached my scripts.
MonoBehaviour broken in unity scripts [closed]
Closed 4 days ago.
MonoBehaviour broken in unity scripts [closed]
Closed 4 days ago.
MonoBehaviour broken in unity scripts [closed]
Closed 4 days ago.
MonoBehaviour broken in unity scripts [closed]
Closed 4 days ago.
MonoBehaviour broken in unity scripts [closed]
Closed 4 days ago.
How to check if a collider2d overlap with a composite collider 2d
There is a OnTriggerEnter2D function, it triggers correctly
Add Deceleration to the player
So, I have a unique situation where I want the player to decelerate when you release your movement key however I don’t want acceleration physics. I want the player to go max speed instantly while also decelerating when they stop moving.
Add Deceleration to the player in Unity
So, I have a unique situation where I want the player to decelerate when you release your movement key however I don’t want acceleration physics. I want the player to go max speed instantly while also decelerating when they stop moving.