Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity character controller ignore collision

Collider characterController = GetComponent<CharacterController>();
Collider otherCollider = otherGameObject.GetComponent<Collider>();
Physics.IgnoreCollision(characterController, otherCollider);
 
PREVIOUS NEXT
Tagged: #unity #character #controller #ignore #collision
ADD COMMENT
Topic
Name
7+4 =