Sublevel affects how the space is handled in dSpaceCollide2 when it is collided
with another space. If sublevels of both spaces match, the function iterates
geometries of both spaces and collides them with each other. If sublevel of one
space is greater than the sublevel of another one, only the geometries of the
space with greater sublevel are iterated, another space is passed into
collision callback as a geometry itself. By default all the spaces are assigned
zero sublevel.
@note
The space sublevel @e IS @e NOT automatically updated when one space is inserted
into another or removed from one. It is a client's responsibility to update sublevel
value if necessary.
@param space the space to modify
@param sublevel the sublevel value to be assigned
@ingroup collide
@see dSpaceGetSublevel
@see dSpaceCollide2
@brief Sets sublevel value for a space.
Sublevel affects how the space is handled in dSpaceCollide2 when it is collided with another space. If sublevels of both spaces match, the function iterates geometries of both spaces and collides them with each other. If sublevel of one space is greater than the sublevel of another one, only the geometries of the space with greater sublevel are iterated, another space is passed into collision callback as a geometry itself. By default all the spaces are assigned zero sublevel.
@note The space sublevel @e IS @e NOT automatically updated when one space is inserted into another or removed from one. It is a client's responsibility to update sublevel value if necessary.
@param space the space to modify @param sublevel the sublevel value to be assigned @ingroup collide @see dSpaceGetSublevel @see dSpaceCollide2