Jump to content

Vehicle tire suspension length


GorzenDev
 Share

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?

Link to comment
Share on other sites

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

  • Upvote 1

AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...