Can anyone tell me how i can make an onCollisionEnter function as an rpc ?? how can i call it ?
this is my function … what i am trying to do is activate collisions done from client side to server side by comparing the name of the clients player to the name of the server player … but it looks like collisions are not being detected from the client side… this is because i am not calling the OnCollisionEnter as an rpc … HELP Please!
[RPC]
void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.name == “Rocko1” sprint == true)
Rocko1 = true;
abilityQProperties = true;
}