Git Product home page Git Product logo

Comments (11)

Gibbzy avatar Gibbzy commented on June 3, 2024

On current RoR versions theres a option at the top menu bar called steering speed coupling, designed for keyboard users, enable it and it will applied something similar as ffb

from rigs-of-rods.

cryham avatar cryham commented on June 3, 2024

Ok. I got RoR 2022-12-29, and I don't see those, so I guess I'd need to build from sources.

from rigs-of-rods.

Gibbzy avatar Gibbzy commented on June 3, 2024

You cant see this?
image

from rigs-of-rods.

CuriousMike56 avatar CuriousMike56 commented on June 3, 2024

By default the steering rate decreases the faster you drive, disabling the above setting allows you to steer at a constant rate regardless of speed. The steering rate itself can't be changed on keyboard though.

from rigs-of-rods.

cryham avatar cryham commented on June 3, 2024

Ah no. I have Waves Height, for water there.

Okay, I see.
Well then probably in source code somewhere.

from rigs-of-rods.

cryham avatar cryham commented on June 3, 2024

I think it's in here void Actor::CalcHydros() in /source/main/physics/ActorForcesEuler.cpp not sure though. Maybe that float rate = std::max(1.2f, 30.0f / (10.0f)); or similar

from rigs-of-rods.

ohlidalp avatar ohlidalp commented on June 3, 2024

Hello CryHam,

I've been dissatisfied with our keyboard steering for a while. Obviously, being a hardcore rally simulator, keyboard steering without any assistance easily throws the vehicle into uncontrolled spin. My complaint is that our "steer speed coupling" setting is very dumb and once you inevitably get into spin, the same mechanism prevents you from doing a counter - steer, effectively forcing you to slow down before driving on.

Ideally, the steering assist should determine optimal non-skidding steer angle and help the player maintain that angle. The intensity of the assistance should be adjustable on scale {from "PRO: slightly slow down or speed up steering to maintain contact" to "NOOB: take keyboard input merely as indication where player wants to go and adjust braking/acceleration/steering to achieve that"}. Such system would improve player experience without compromising our physics-based gameplay.

Creating this will require quite some research, tweaking, trial And error. I think a good approach would be a default script bound to all actors, similarly how a default script is bound to all terrains. This would provide modders with ability to customize and draw UI to adjust settings on the go.

from rigs-of-rods.

rishabhbhatiamp avatar rishabhbhatiamp commented on June 3, 2024

Hi Ohlidalp,

I am new here but found this problem interesting so here is my take.

"take keyboard input merely as indication where player wants to go and adjust braking/acceleration/steering to achieve" If the idea is to just implement a steering assist, maybe it shouldn't really change the longitudinal speed as lateral and longitudinal control should be maintained independently. The best idea, like you suggested could be to have a slider between pro and noob. For the noob, a hard limit can be imposed on the steering based on when it would lose control. I am not sure how to determine that as it depends on velocity and weather the rear wheels are driving/driven, throttle, friction, terrain etc. For the pro we could free up this constraint.

As for the original complaint of the steering rate being too slow, I am sure that there is an ideal curve which I can try and find with inspiration from other simulators and games.

from rigs-of-rods.

cryham avatar cryham commented on June 3, 2024

Right, well IDK much about that steering assist. Definitely something bigger to code.
So first I'd recommend adding keyboard sensivity option to Gui, to allow player to steer much faster.

Well Stunt Rally 3 may not be a hardcore simulation but surely isn't arcade either. And in SR3 I really enjoy sliding. I don't have issues controlling it. We have steering sensivity, and steering decrease with speed too. It is still possible to spin out, i.e. loose grip out of control. Buf from my experience it's way more fun to slide AWD cars on gravel in SR3 than in RoR.

I think this bad slow steering (hence this issue) is important, but if it won't fix all, then it's up to tire functions*, possibly also differentials (could be set high or to all locked for testing tires). Lastly (but changing these may not be real) maybe too high car inertia or bad center of mass. SR always has AWD, stiff diffs and suspension, around 50-60% mass on front, and a bit lower center of mass. *Ah also I made a tire editor (Pacejka coeffs) in game. Anyway SR needs no TCS, ABS (off by default), definitely no AI steering or special code to assist steering and it's all great fun.
Either way, I can't test in RoR or contribute code, since I've moved SR3 to OgreNext (I recommend it, but it took me a long year to move) and didn't manage to build Ogre 1.14 too, even for old SR.

from rigs-of-rods.

rishabhbhatiamp avatar rishabhbhatiamp commented on June 3, 2024

I agree with adding keyboard sensivity option to Gui being the first step. I can try and have a go if I can get it to build but I've never done it before. I was recently playing BeamNG and there they have an option to add a curve for steering ratio. Lets say it takes 0.5s of left button press for the wheel to reach its maximum steerable angle of 40 degrees. If someone presses the left steering button for 0.3s, for the first 0.1s it can only reach maybe 5 degrees but drastically increase for for each ms later on.

from rigs-of-rods.

cryham avatar cryham commented on June 3, 2024

OK I managed to build from sources (ogre-13 branch with Ogre 14).
And I added this setting #3120

from rigs-of-rods.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.