vector PBend = -@P.x*chf("Pselect"); vector RampAngle = chramp("TAngle",PBend.x); f@SelectPoints = PBend.x; @P += (@P-@N)*@SelectPoints-RampAngle;
In the above code with the parameter PSelect I'm getting this result.
How can I prevent this so that when adjusting the parameter it squashes the geometry but not so that it overlaps other geometry ?
Also when adjusting the parameter when the parameter goes to a maximum value of 1 by default with all parameters the overlapping of polygons doesn't occur. One could just adjust the parameter value but is there a way based on the previous question that I can connect it to whatever is suggested in the first question with the parameter without having to actually adjusting the parameter values ?