VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
void AVR.Phys.AVR_GrabbableVolumeFinder.OnTriggerEnter ( Collider  other)
inlineprivate

Definition at line 29 of file AVR_GrabbableVolumeFinder.cs.

30  {
31 #if AVR_NET
32  if (IsOnline && !IsOwner) return;
33 #endif
34  if (other.GetType() == typeof(MeshCollider) && !((MeshCollider)other).convex) return; //Dont add non-convex colliders
35  if (!colliders.Contains(other)) colliders.Add(other);
36  }