Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi.ObiCollider.idToCollider gone in update
#1
I just updated from 5.3 and so far the changes look amazing, especially with the back-ends but I used:


Code:
Component collider;
if (ObiCollider.idToCollider.TryGetValue(e.contacts.Data[i].other,out collider)){

    // Function to do when particle collides with collider

}
This is scrapped in the new updates. I see the new CollisionEventHandler class but I'm wondering how can get the other collider from the contacts.Data[i].other field.
Reply


Messages In This Thread
Obi.ObiCollider.idToCollider gone in update - by VirtualCucumber - 05-12-2020, 11:21 PM