https://i.imgur.com/MlYQhok.png
Why is this line erroring?
Your guide tells us how to get the collider for the OTHER item involved in a collision, but I first need to verify that the initial item in the collision belongs to the gameobject this script is on.
For some reasonÂ
ObiColliderBase self = handles[contact.particle].owner;
results in ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
I cant seem to get a gameobject from solver.particleToActor[contact.particle]; either
Why is this line erroring?
Your guide tells us how to get the collider for the OTHER item involved in a collision, but I first need to verify that the initial item in the collision belongs to the gameobject this script is on.
For some reasonÂ
ObiColliderBase self = handles[contact.particle].owner;
results in ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
I cant seem to get a gameobject from solver.particleToActor[contact.particle]; either