Physics constraint linear limits not working as expected

I have two actors that are attached via a physics constraint. I am dynamically adjusting the X, Y and Z linear limits (also angular limits) based on the distance between the objects, e.g as they get closer the limits decrease.

This appears to be working fine with the angular limits however the linear limits are behaving strangely. If I modify the X or Y limit, the behaviour does not seem to change, but if I modify the Z limit it seems to constrain on all 3 dimensions.

Anyone seen this before or have suggestions of things to check? I am at a bit of a loss

I think I’ve just figured it out.

I realised there is only a single Limit value which applies to all 3 dimensions. The reason it seemed like only the zLimit was working is because thats the one I was setting last.