Is there any way to disable collision between players. I want players to be able to walk straight through other players.
So far I tried this, the message was sent but collision was normal:
Package NoCollision
{
function Armor::onCollision(%this, %obj, %col, %vec, %vecLen)
{
if(%col.client.player)
{
messageclient(%obj,1,"Collision with another player");
return;
}
Parent::onCollision(%this, %obj, %col, %vec, %vecLen);
}
}
ActivatePackage(noCollision);