I’ve been working on this fighting game and i was trying to implement a form of knock back but this error showed up. Can you help me fix this? Keep in mind I am not very good at coding so I might not understand some of the terms. Thank you!
(btw the error is on line 24 where is says:
“currentHealth + damage = RB.AddForce(Vector2.up * JumpForce);”)
,I’ve been working on this fighting game and i was trying to implement a form of knock back but this error showed up. Can you help me fix this? Keep in mind I am not very good at coding so I might not understand some of the terms. Thank you!
(btw the error is on line 24 where is says:
“currentHealth + damage = RB.AddForce(Vector2.up * JumpForce);”)
