Ignore collisions with a cloth?

Hi all,

I’m trying to find a way so that a cloth does not react to a specific object in the scene (the player).

I tried

function Start(){
	blanket = GameObject.Find("blanket");
	col =  GameObject.FindGameObjectWithTag("Player").GetComponent(CharacterController); 
}

function Update(){
Physics.IgnoreCollision(col, blanket.collider, true);
}

But all I get is " Ignore collision failed. Both colliders need to be activated when calling this IgnoreCollision". I also tried GetComponent(Collider) for the player but same result…

Is it possible to ignore collisions with a cloth?

Thanks for your help!

I dont get the error message if a use a box colider around the cloth but still it reacts to the player being in contact with it, so it’s not the collider that is causing the cloth to move…

am i missing something?

bump :slight_smile: