How would I build suspension in my vehicle?

Hello, I currently work on a mountain biking game and everything is good. But, the bikes always felt too stiff. I planned on building suspension in the bikes, but I have no idea how.

I tried making a SpringConstraint between the fork and the front wheel, then used a PrismaticConstraint to make it straight. It resulted in the wheel pulling the whole bike with full power.

image

Any idea how would I make this work?

1 Like

Would this video help?

https://m.youtube.com/watch?v=1GBTnu_PFMo&skip_registered_account_check=true&noapp=1

(I have a theory what is you put the spring constraints on the tire itself? I’m no good with constraints btw)

1 Like

This method is outdated and won’t work, so no.

Also the tire comes together with the wheel object. (it’s a mesh)

try ray casting. ask for help in #help-and-feedback:scripting-support as im not a scripter.

1 Like

Finally got it working! Was a struggle but it really helped. Thanks

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.