Unexpected axis constraint with Prismatic joints

The prismatic joint works as expected. But when I inspect the Constraint on the constrained body pair, it is not really clear to me why the respective constrained axis is chosen that way.

If I want to have a prismatic joint where the entity can glide along the y axis, I expected to find a constrained axis on X and Z (with Min: 0, Max: 0) and a constraint on the Y-axis with Min:0, Max: 1).

Instead, I find the X-axis constrained with Min: 0, Max: 1, and the Y and Z axis Constrained with Min:0 Max: 0.

I'm sure I am missing something simple about why these constraints are defined on the other axis then I would have expected, but any help would be appreciated.

8029748--1035086--primsatic_join_go.png 8029748--1035089--primsatic_join_entity.png

I think, I understand now.

Prismatic constraint (for the sliding) is always on the X axis, and we can define the world direction of that sliding by defining the coordinate system of the joint with the the axis (axis local, axis perpendicular) we define (and the third is calculated with the cross product).