hello im making a 3d platformer shooter game and i want to add force when my player is hit but the addforce doesn't work the way i want it to work i want it to be smooth not like teleporting and i want to add like the height and length but it dont really work so here is my addforce:
rb.AddForce(-transform.right * forceStrength, ForceMode.Impulse);
i really hope somebody can help :)
↧