Jump to content
GorzenDev

Vehicle tire suspension length

Recommended Posts

After playing aroud with the Vehicle:AddTire() parameters i get some weird results.

 

Is there any way to have a tire with 0 suspension length?

 

I have tried setting the length parameter to zero and playing with the damp and spring values.

wich gets some weird and fun result but nothing that comes close to a suspensionless tire.

 

Any help or tricks?

Share this post


Link to post

Hi with these settings i have a very stiff suspension :

chassis:SetMass(2000)
local tiremass=40
 suspensionDamper = 10
 suspensionSpring = 3000
 suspensionLength = 1
 lateralStiffness = 20
 longitudinalStiffness = 10000
 aligningMOmentTrail = 1.5
 friction = 1.0

Share this post


Link to post

Hi with these settings i have a very stiff suspension :

chassis:SetMass(2000)
local tiremass=40
suspensionDamper = 10
suspensionSpring = 3000
suspensionLength = 1
lateralStiffness = 20
longitudinalStiffness = 10000
aligningMOmentTrail = 1.5
friction = 1.0

 

this is a lot better thank you.

 

although this still has suspension and bounces during cornering and slopes.

i am building a robotics game and want to attach wheels to a chassis.

but most robotics wheels/servos do not have any kind of suspension.

Share this post


Link to post

i see but i don't know how to get there,

toying with values is the way to go and finding settings bounds.

good luck with your project.

Share this post


Link to post

I'm hoping when Josh makes the templates he'll include a solid racing/vehicle one as well that that doesn't bounce around and plays more like a typical racing game car.

Share this post


Link to post

thanks for the answers guys.

 

maiby josh can elaborate on the current possibilty of the vehicle class parameters ?

and if suspensionless tires are currently possible at all ?

Share this post


Link to post

to answer my own question i dont think it is possible to have suspensionless tires with the current vehicle class.

 

my solution to this is calculate each wheels moment force then calculate the rotation and velocity of the main body.

(this does not use the vehicle class but rather 4 individual wheels)

 

preview of robotic body moving by individual wheel forces (WIP)

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...