i have a simple player game object from the basic multiplayer tutorial . i want to make more modifications to it to learn some collision.
what i want to do is OnCollisionEnter i want to move the target gameobject to a certain distance. to simulate contact. so basically push the game object in the direction of the bullet for a short distance.
how do i get the speed of the bullet it was moving with and apply a small push and stop on the target player?