Hey,
Im currently trying to make a somehow realistic collision in multiplayer. But everything I'm trying to make it to work doesn't have the expected outcome.
void OnCollisionEnter(Collision col)
{
if(col.transform.tag == "Player")
{
string Identity = col.transform.name; //The name of the rammed car
Vector3 Myposition = transform.position; //My car's position
Vector3 Colposition = col.transform.position; //My opponent's car position...
Rigidbody.addforce sync
Im currently trying to make a somehow realistic collision in multiplayer. But everything I'm trying to make it to work doesn't have the expected outcome.
void OnCollisionEnter(Collision col)
{
if(col.transform.tag == "Player")
{
string Identity = col.transform.name; //The name of the rammed car
Vector3 Myposition = transform.position; //My car's position
Vector3 Colposition = col.transform.position; //My opponent's car position...
Rigidbody.addforce sync