Physics constraint LinearZ problem

Did not get any reply from the c++ forum. Trying the answerhub. Thank you.