PC Alpha 21 Dev Diary

Status
Not open for further replies.
But that's the thing, the game has no motorcycle crashing and you flying off animation (or does it? At least it surely isn't implemented yet). So you are glued to the motorcycle no matter what you do and the wobbling is maybe the equivalent of you getting thrown off. The important question then would be whether you get "thrown off" too easy. Or if it would be more fun to really be thrown off instead of wobbling?
Unity's wheel colliders are fairly basic. They are not a racing game simulator.

Two wheeled Unity vehicles fall right over as soon as you turn. The wobbling is simply vehicle balancing forces keeping you upright otherwise you would be laying on your side most of the time.

Unity vehicles in general would be upside down or on their side a fair bit of the time if not for the side and front/back forces pushing the vehicle upright.

 
Unity's wheel colliders are fairly basic. They are not a racing game simulator.

Two wheeled Unity vehicles fall right over as soon as you turn. The wobbling is simply vehicle balancing forces keeping you upright otherwise you would be laying on your side most of the time.

Unity vehicles in general would be upside down or on their side a fair bit of the time if not for the side and front/back forces pushing the vehicle upright.
The explanation helps.  But perhaps there is a way to reduce that wobble so it doesn't do it many times in a row?  Once back and forth wouldn't look as bad.

 
Unity's wheel colliders are fairly basic. They are not a racing game simulator.

Two wheeled Unity vehicles fall right over as soon as you turn. The wobbling is simply vehicle balancing forces keeping you upright otherwise you would be laying on your side most of the time.

Unity vehicles in general would be upside down or on their side a fair bit of the time if not for the side and front/back forces pushing the vehicle upright.
Speaking of Unity, what are TFP's plans with regard to the changes Unity have recently announced, I guessing it's a bit late to switch the game engine now! 

 
Unity's wheel colliders are fairly basic. They are not a racing game simulator.

Two wheeled Unity vehicles fall right over as soon as you turn. The wobbling is simply vehicle balancing forces keeping you upright otherwise you would be laying on your side most of the time.

Unity vehicles in general would be upside down or on their side a fair bit of the time if not for the side and front/back forces pushing the vehicle upright.


It occured to me right now that I may have misunderstood the "wobbling" all the time discussing about it. I thought it was about the vehicle breaking out and driving sinuous or wiggly lines (words I got from a dictionary). I.e. in those cases I often have to stop the vehicle and it would come to halt in a totally different direction to where I had been driving.

The wobbling you and maybe all the others were talking about is just some unnutural quivering of the bike.  @FramFramson @Riamus@Kalex et.al.: Have I misinterpreted you here?

 
Last edited by a moderator:
It occured to me right now that I may have misunderstood the "wobbling" all the time discussing about it. I thought it was about the vehicle breaking out and driving sinuous or wiggly lines (words I got from a dictionary). I.e. in those cases I often have to stop the vehicle and it would come to halt in a totally different direction to where I had been driving.

The wobbling you and maybe all the others were talking about is just some unnutural quivering of the bike.  @FramFramson @Riamus@Kalex et.al.: Have I misinterpreted you here?
There are 2 things that happen.

1) When you start sliding side to side - this is where the vehicle starts aiming different directions and can sometimes spin 180.  That isn't really what's been being discussed, though it was mentioned.  

2) When a 2-wheel vehicle (this happens most notably to the motorcycle and less to minibike and not enough to even note on the bicycle) wobbles side to side - this is where the vehicle is still aiming in the same direction but where it is leaning first to one side then the other and back and forth repeatedly.  With the motorcycle, this can happen 3-4 times back and forth to each side before it stops if you keep driving and don't turn anymore.

 
It occured to me right now that I may have misunderstood the "wobbling" all the time discussing about it. I thought it was about the vehicle breaking out and driving sinuous or wiggly lines (words I got from a dictionary). I.e. in those cases I often have to stop the vehicle and it would come to halt in a totally different direction to where I had been driving.

The wobbling you and maybe all the others were talking about is just some unnutural quivering of the bike.  @FramFramson @Riamus@Kalex et.al.: Have I misinterpreted you here?


To be precise, I would say it is an overly-dramatic lateral lean/wobble (i.e. side to side, perpendicular to the direction of travel).

When you ride a motorbike or any two wheeled vehicle, you naturally lean when you turn as most of us know. But in 7D, you may perform a small change of direction, the sort which might have a tiny bit of lean or even no visible lean at all IRL, but your character first leans dramatically to the side, and then the physics model appears to overcorrect for this excess by flinging you over so you lean in the opposite direction. This gradually tapers off, as if you were riding some kind of weeble wobble or giant spring. And yet your wheels don't leave the ground! IRL if you leaned from side to side that dramatically not only would you wipe out, you should also be zig-zagging wildly. Kind of like someone doing a pylon obstacle race?

IMO some specific related physics setting in 7D has probably been mis-set at a wildly incorrect value for vehicles.

 
IMO some specific related physics setting in 7D has probably been mis-set at a wildly incorrect value for vehicles.
If you file a bug report and put it in the confirmed bugs queue, with a detailed explanation, a picture, or maybe even a video to showcase the issue, then @faatal will have official time coverage to work on the matter, and can dedicate some time to see how to improve it.

 
If you file a bug report and put it in the confirmed bugs queue, with a detailed explanation, a picture, or maybe even a video to showcase the issue, then @faatal will have official time coverage to work on the matter, and can dedicate some time to see how to improve it.


Haven't you all read Fataals reply above? He knows about the wobble, so no need for a bug report. As he reads this thread he knows that it disturbs your sense of right and wrong 😉. Me, I don't care about the wobble.

And as the head developer I am also sure he doesn't need a confirmed bug report to put time into anything. Instead you would need to convince him that his time would be well spend working on this

IMO some specific related physics setting in 7D has probably been mis-set at a wildly incorrect value for vehicles.


To change the wobble he would probably need to experiment and find a better formula for the force that keeps you upright or completely change how it keeps you upright, not just change some setting.

 
Last edited by a moderator:
Haven't you all read Fataals reply above? He knows about the wobble, so no need for a bug report. As he reads this thread he knows that it disturbs your sense of right and wrong 😉. Me, I don't care about the wobble.
Well, a proper bug report, with attached video, would clarify better what those players are talking about and why it feels so wrong.

Looking at a video of the "issue" may very well convince faatal to rethink about changing something if those edge cases generate a weird vehicle behavior.

 
@Jost Amman indeed! Part of my job irl is dealing with complaints concerning technical materials (electrical components) from our contractors (they recieve the materials they use from us).

And I can absolutely confirm that it is vital to be meticulously precise about how you describe the fault, especially when everybody involved already has heard about it and has a general idea, and therefore automatically starts to presume things.

It is soooo very easy to talk past each other...as can be seen here, meganoth also didn't get it right because he was presuming stuff.

So yes again to your point, absolutely necessary to get things straight.

...next thing is: will the QA guy who receives the ticket take a thorough look or just klick it away because he's presuming...😀

 
Last edited by a moderator:
I like the wobble.

iu


-Arch Necromancer Morloc 💀

 
To change the wobble he would probably need to experiment and find a better formula for the force that keeps you upright or completely change how it keeps you upright, not just change some setting.


Eh, it could be a general vehicle property. I don't think TFP would have had cause to change Unity's basic physics engine settings too dramatically, unless maybe something about the voxel physics required it? It seems unlikely though I guess not impossible.

I mean, sure, you how never know how spaghetti someone's code is until you actually look at it, but I have no reason the think the 7D2D code is particularly bad in this regard. 7D2D bugs always seem to be mostly traceable cause-and-effect, not a bunch of wildly unrelated things breaking.

Anyway this is all just speculation.

 
Eh, it could be a general vehicle property. I don't think TFP would have had cause to change Unity's basic physics engine settings too dramatically, unless maybe something about the voxel physics required it? It seems unlikely though I guess not impossible.

I mean, sure, you how never know how spaghetti someone's code is until you actually look at it, but I have no reason the think the 7D2D code is particularly bad in this regard. 7D2D bugs always seem to be mostly traceable cause-and-effect, not a bunch of wildly unrelated things breaking.

Anyway this is all just speculation.




I interpreted Faatals message above that Unity's code is basically not handling the physics of 2 wheel driving at all. As he said, the vehicle would simply fall if the application programmer did not add code to handle the situation:

Two wheeled Unity vehicles fall right over as soon as you turn


So Faatal must have added code and this code probably uses a feedback system where for example the stronger you lean to one side (when driving straight) the stronger an opposing force pushes back. Such systems tend to generate oscillation such as we see in the game.

Now you can make the formula which calculates the opposing force (from some variables lile leaning, speed and turn radius) arbitrarily complicated. You could even make a complete physics simulation but that would probably cost too many cpu cycles for just the driving. So you need to find a simpler formula that still works well. And that searching and testing those formulas probably takes a lot of time.

This is not about cleaning sphagetti code.

 
Last edited by a moderator:
To change the wobble he would probably need to experiment and find a better formula for the force that keeps you upright or completely change how it keeps you upright, not just change some setting.
Although true that he'd probably need to experiment to find a suitable amount to change it to, I'm pretty sure we are taking about a math equation to calculate something like lateral g-force and then another calculation for compensation (counterbalance).  These may be complicated equations (maybe), but they should be easy to change and test different amounts of change to find a good balance.  Of course, we don't know the code and so it is a guess but managing forces like that is pretty common in games with any form of physics, so it shouldn't be hard to figure out.

 
Riamus said:
Although true that he'd probably need to experiment to find a suitable amount to change it to, I'm pretty sure we are taking about a math equation to calculate something like lateral g-force and then another calculation for compensation (counterbalance).  These may be complicated equations (maybe), but they should be easy to change and test different amounts of change to find a good balance.  Of course, we don't know the code and so it is a guess but managing forces like that is pretty common in games with any form of physics, so it shouldn't be hard to figure out.


Whoever programmed the math equation to control the current motorbike was either satisfied with the current way or did not find a perfect formula after some easy tests.

 
Whoever programmed the math equation to control the current motorbike was either satisfied with the current way or did not find a perfect formula after some easy tests.
Of course.  That doesn't mean it can't be looked at and improved upon.  There are obviously going to be ways to change this behavior.  Maybe it will be too resource-heavy to do so.  That's a possibility.  But it can be looked into.

 
Status
Not open for further replies.
Back
Top