Forgive me if this has been answered before, I went searching but didn't find what I was looking for...
when I loop through contact points to check for collisions happening and return the b2ContactID's key for each contactPoint i noticed that when my box collides with anything the objects it collides with always return 1 of the same 4 id keys. I guess these are id keys for the 4 points for the box.
Every time i run the sim they are the same so it must be stored somewhere, I just don't know where as I can only find these numbers in the contactpoints and I'm just looking for a way to reference them.
hope this makes sense!
the question: Is there a way to get these keys on the creation of the box?
thanks for the help
when I loop through contact points to check for collisions happening and return the b2ContactID's key for each contactPoint i noticed that when my box collides with anything the objects it collides with always return 1 of the same 4 id keys. I guess these are id keys for the 4 points for the box.
Every time i run the sim they are the same so it must be stored somewhere, I just don't know where as I can only find these numbers in the contactpoints and I'm just looking for a way to reference them.
hope this makes sense!
the question: Is there a way to get these keys on the creation of the box?
thanks for the help