we are trying to use the LayerMask setting in a checksphere cast as to check for a collision with the Ground, that has already its layermask defined.
But when we are trying to pass in the parameter to the checksphere function the layermask we are not able to find out what is the Uint number that we should send. We think that it could be the index position of the matrix, as for example Default is 0, Player is 1, etc. but we are not sure because the results are incongruent.
What is the right way to get it?