simulation of motorbike suspension

As you can see in the above image i want to simulate a motorcycle suspension. I can move the wheel up down with the wheel Colider (given fron unity examples), but i cant move the suspension properly. They are two diferent objects (wheel and suspension), and the suspension origin is in the green point of the img. If there is an easier way to doi it i will be happy to know. Thanks in advance.

You can use sin or tan functions. You needs center point angle ( green point). This angle value you can use and rotate the suspension. Then it looks like it going up and down. You can use wheel collider y position or wheel mesh y position when needs calculating the angle.