Profile image

Is there a way to set a speed limit for ground vehicles?

1,062 TheThirdUnionRepublic  4.6 years ago

So I'm deciding to kinda remake my tank
this guy over here

Is it possible to make a speed limit in the car engine, like making it go 60km/h without altering the horsepower of the tank? It would be a big help.

  • Log in to leave a comment
  • Profile image
    4,359 MeetThyDoom

    @stevemc01 @FairFireFlight It would be useful to know where to insert this code. If you figured it out.

    Thanks!

    2 months ago
  • Profile image
    3,433 stevemc01

    @FairFireFlight Where do you put the clamp command in the engine? The InputController, CarEngine area, etc...?

    +1 3.0 years ago
  • Profile image
    3,433 stevemc01

    Where do you use that line of code?@FFFFFFFFFFFFFFFFFFFFFFair

    3.2 years ago
  • Profile image

    @FairFireFight yep already figured that out, thanks!

    4.6 years ago
  • Profile image

    @TheThirdUnionRepublic its already there in the wheel menu
    its only for wheels connected an Engine

    +2 4.6 years ago
  • Profile image

    @FairFireFight where should I put that maxAngularVelocity in the wheels? Like input?

    4.6 years ago
  • Profile image

    @FairFireFight ok

    4.6 years ago
  • Profile image

    The turning rate one in resizable wheel may be the answer. If not, angular velocity

    4.6 years ago
  • Profile image

    @TheAviator , yes you can , maxAngularVelocity , but using FT you can get realistic acceleration
    it starts off fast then slows down untill you cant accelerate any faster.

    +7 4.6 years ago
  • Profile image

    1- how tf did you place text next to the picture
    2- use :
    clamp(abs(1-(GS/X)) ,-1 , 1)
    X = the top speed in m/s
    on the engine

    +1 4.6 years ago
  • Profile image

    I think you can xml mod the wheels

    +1 4.6 years ago