Hello,
i am trying to do something simple, hopefully simple, when player touches enemy, the enemy bounces back, maybe a few feet or inches or whatever back, even if the player is just standing there, the enemy player touches, then the enemy bounces back…
i tried to use:
if(Player_Hit)
{
rb.AddForce(transform.forward * 10 * Time.deltaTime);
}
however this never fires, even though i put a Debug.Log(“TEST”); in there, and i do see the console TEST, so it does work, but the enemy object doesnt move back… any idea or maybe something else i should use?