- Home /
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.
Answer by jore68 · Aug 02, 2015 at 02:36 AM
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.
Your answer
Follow this Question
Related Questions
Trials evolution game physics (motorbike) 0 Answers
Bike tut for bike nut ? 0 Answers
Strange behaviour when WheelColliders are on their side. 0 Answers
Wheelcolliders stuck in ground 0 Answers
methods of keeping bikes upright ? 1 Answer