void OnCollisionEnter(Collision col)
{
if (isServer)
{
if (col.gameObject.tag == "Ball" && !isUpright)
{
Rigidbody RB = col.gameObject.GetComponent<Rigidbody>();
RB.velocity = ballSlowdown * RB.velocity;
RB.angularVelocity = ballSlowdown * RB.angularVelocity;
}
}
}
}