SHARE
TWEET

Untitled

a guest Aug 23rd, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 ref var colliderRef = ref collider.Value.Value;
  2.                 colliderRef.Filter = new CollisionFilter()
  3.                 {
  4.                     BelongsTo = filters[0],
  5.                     CollidesWith = filters[1],
  6.                     GroupIndex = 0
  7.                 };
  8.  
  9.                 //chunkColliders[i] = collider;
  10.  
  11.                 commandBuffer.RemoveComponent<SetExteriorFilterData>(chunkIndex, entity);
  12.  
  13.                 if (colliderRef.Filter.BelongsTo != filters[0])
  14.                 {
  15.                     Debug.LogError("MEEEP2 ," + colliderRef.Filter.BelongsTo +", " + filters[0]);
  16.                 }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top