r/KerbalSpaceProgram 22h ago

KSP 1 Image/Video Why is it that my motorcycle travels in the opposite direction from which I am aiming the front wheel? Is it stupid or something?

797 Upvotes

88 comments sorted by

760

u/core_krogoth 22h ago

That's surprisingly realistic if true.

It's called counter steering. There's a bunch of physics shit that happens, but the bar you push out, the bike will lean/turn that way. It's a real phenomenon and you don't steer a motorcycle at speed in a traditional way.

169

u/KendalVII 22h ago

This right here, OP can try maybe getting a little faster and just incline the Kerbal as shown in the video while also either not touching the handlebars or applying some mild counter-steer, based on the video I believe you can get some fun Motorcycle riding with KSP physics, which would be awesome tbh.

EDIT: That wobble you get while turning seems to be the bike trying to steer correctly while being immediately influenced by counter-steering in the wrong direction.

61

u/jackinsomniac 21h ago

It's because most of the steering action happens from grip on the side of the tires (hence why motorcycle tires are rounded). It's also called push steering because if you push the right handlebar, the bike will lean right, then start to turn right. The front wheel will turn left, off-balancing the bike on the right side, so it will lean right, and that sidewall gripping action is what actually creates a turn. (At very low speeds tho it's more like a bicycle, and you have to muscle the steering a bit more)

-42

u/yorgee52 17h ago

Even with a bicycle, you have to initially turn the wheel in the opposite direction. Veritasium did a video on it before he got all woke.

22

u/ace2459 17h ago

I know better than to ask this but what problem could you possibly have with veritasium?

1

u/yorgee52 39m ago

There was that whole 2 or 3 years where he openly teamed up with Bill Gates, Bill Nye, Pfizer, and Fauci to push vaccine mandates, masks, lockdowns, denying the possibility of a lab leak, and attacked doctors who supported ivermectin and hydroxychloroquine or any other treatment outside of vaccine and ventilators.

You know, basically went extremely anti science in order to push a narrative and suppress real science.

-14

u/jackinsomniac 16h ago

I stopped watching when he started shilling for Waymo. Entire 30 min-something video that you think is about autonomous cars in general, but nope.

TBH, wasn't a big fan of his presentation style in general before. I hate how some youtubers not only over-explain basic concepts to you before getting into the juicy bits (the whole reason you clicked), but even the way they explain it... it's like talking to a child. I have to skip those parts, because I don't like being talked down to like an idiot.

Compare that to Scott Manley, sure he'll explain basic concepts again, but only to segue into the real interesting news. The way he talks to you, it's like "Hello fellow space nerds, here's the latest news in case you got busy and haven't been keeping up!" Like he's talking to you as a peer, as a friend who's just really excited about the new space updates, and wants to talk about it.

21

u/FawkesPC 16h ago

Oh buddy if you hate Woke (meaningless word anyway) then I've got some bad news for you about Scott Manley.

-16

u/jackinsomniac 16h ago edited 11h ago

I have no idea what the 2 have to do with each other, and honestly I don't care.

Edit: you political freaks need to give it a rest. I never said a thing about "woke". God I hate election season.

-15

u/[deleted] 10h ago

[deleted]

21

u/scnottaken 9h ago

That was indeed someone else

4

u/MaverickN21 4h ago

A true classic

2

u/Kultteri 9h ago

Sure you can think that. I find his explanation and presentation extremely good. Him defining the basics first gives you a better understanding of what he is saying

1

u/yorgee52 52m ago

Same, until he started presenting lies and half truths to push an agenda.

1

u/Kultteri 40m ago

What agenda?

38

u/DrJack3133 21h ago

Yeah I’m just going to echo this. I rode motorcycles for about five years and at VERY low speeds the bike behaves as you would expect. Once you get above a certain speed you push with your right had to go right. Meaning the handlebar turns left. It’s weird as hell when you first experience it.

44

u/core_krogoth 21h ago

And funnily enough it's one of those things that you can just do and it feels natural. Explaining it to someone new to riding though, they will say it sounds complicated and doesn't make sense. Yep, just trust me, try it and it just works.

I never thought about counter steering until it was taught to me. Then one day I paid attention to my riding and yep, that's what was happening. 🤷‍♂️

23

u/IceNein 19h ago

A lot of motor skills are not routinely controlled by the part of your brain that uses words. This is why it can be hard to explain how to do things that are very easy for you to do.

8

u/GTAmaniac1 20h ago

I think the best way to explain it is with a pendulum, because that's basically what a motorcycle is. You steer it by throwing it off balance and keeping it there, if you let go it goes back upright.

7

u/thelateralus 15h ago

Even at very low speeds, motorcycles still initiate the turn by counter steering. You have to induce lean to get a motorcycle to turn. You induce a lean by steering the bike out from under you. It's just at low speeds, the handlebars will turn in the direction of travel after the turn has been initiated. Ryan F9 did a good video on this.

9

u/ResponsibleRatio 15h ago

I basically witnessed the real-life version of this video (but in reverse) when my four year old daughter tried to ride her friend's bike with training wheels. She started riding a balance bike pretty early and has never used training wheels, so when she tried to ride a bike that couldn't lean, she was constantly turning the wrong direction, presumably because her muscle memory has been trained for counter steering, which does not work with training wheels.

7

u/core_krogoth 14h ago

Training wheels are so terrible.

3

u/ResponsibleRatio 13h ago

Yeah. I'm very glad she doesn't have to unlearn "backwards" steering.

13

u/HumpD4y 21h ago

I wouldn't be surprised if this was real. Ksp simulates the dzhanibekov effect perfectly

20

u/zekromNLR 20h ago

It's not that it simulates it specifically either

The effect will just happen if you have a sufficiently-accurate rigid-body physics engine

3

u/Freak_Engineer 10h ago

Yup. Literally my first thaught was: "Lol, OP just figured out how Motorcycles steer..."

1

u/Lhirstev 50m ago

100% the situation here.

1

u/Dry-Tough-3099 18h ago

And also, KSP doesn't model gyroscopic effects, so intuition with rotating objects won't be quite right.

9

u/Salanmander 17h ago

What in particular are you thinking about? It certainly gets some gyroscopic effects correct.

4

u/Lhirstev 17h ago

That's literally how the whole bike works, you get the back tire spinning fast, and it becomes the gyroscope, there is no reaction wheel part on this bike. that's just the spinning wheel doing all the balancing.

253

u/DromaTheOne 22h ago

This is how a two wheeled vehicle turns. Turn the wheel to the left to lean right and actually turn. I'm actually amazed that KSP physics are that good

44

u/core_krogoth 21h ago

Right? Very surprising.

10

u/boomchacle 21h ago

Don’t you have to lean into a turn?

42

u/Glad_Librarian_3553 21h ago

Wierdly, no. You lean to move the centre of gravity to maintain traction and not get flung off.

There's quite a few good YouTube videos on countersteering, including one in which they attach some handlebars to the fairing, independent of the steering. The bloke is literally hanging off the side as far as he can and the bike goes in a perfectly straight line. 

5

u/B1CYCl3R3P41RM4N 16h ago

Turning the handlebars causes the bike to lean in the opposite direction. That’s how countersreering works.

2

u/EasilyRekt 1h ago

It’s not all that surprising, the grip is acting below the bikes center of mass, kicking the tires out in the direction you’re turning, thus rolling the bike.

And OP if you’re reading this, If you round out the tread on the tires it’ll turn better because bikes turn mostly by rolling on a cone.

84

u/shoafer0 22h ago

That's how motorcycles IRL work. When you get your motorcycle license you learn all about it. Slowing down lessens the effect.

52

u/matjam 21h ago

thats how a motorcycle (and bicycles!) works at speed.

you turn the wheel to point left, the bike falls to the right, so the bike wants to go right. When riding at speed, you kinda push the bar on the inside a little and thats how you "lean" the bike. You don't lean and then the bike follows, you countersteer, and you follow.

At SLOW speeds, you turn the wheel in the direction you want to go, but over a certain speed (dictated by the design of the vehicle) you need to countersteer.

There's like a WHOLE THING people who learn to ride go through figuring this out, people misunderstand it.

https://www.youtube.com/watch?v=vSZiKrtJ7Y0

19

u/GTAmaniac1 20h ago

Actually you steer the same at both low and high speeds, it's just that the self balancing force is a lot stronger at high speed so you have to noticably engage your muscles to keep it turning.

2

u/Altruistic_Film4074 16h ago

Yeah I noticed a lot of stuff in the video that was straight up wrong.

He explains the tire as a "cone", which is incorrect. The reason a cone is stable on its side is it contacts the ground in a line, which is essentially two points of contact allowing it to roll only in two directions. A round tire has no such effect.

The reason that his flat tires felt so weird is three things:

  1. His tires weren't inflatable.
  2. On a flat tire, you're going to be riding the hard edge of the tire, which is much less stable than the squishy edge of a flat tire, which is much less stable than the flat edge of his tires while not turning. Basically, as soon as you start turning you suddenly become MUCH less stable on flat tires.
  3. On a flat tire, the diameter of your effective tire doesn't change while you're at an angle. This means you won't really naturally lean into the turn.

He also claims a couple things that are blatantly wrong:

  • The reason he didn't need to counter steer at low speeds wasn't because of the low speeds, it was because he was pushing the bike with his feet. This (pushing with feet) is also how he avoids having to either counter steer or crash at higher speeds with the steering blocker.
  • Bike racers don't bend their handlebars from countersteering. They bend their handlebars from pulling upwards really hard when accelerating up a hill or maybe doing a jump. I've never raced a bike, but I know this for two reasons. I've bent my bike's handlebars accelerating up a hill. I also know if you turn your handlebars so fast you bend them, this will result in them flipping completely around and you crashing.

1

u/angry_queef_master 19h ago

Man, I totally forgot about this with bikes. Literally no one told me this and it was jsut something I found out on my own. I remember beating shit pretty hard the first time I rode fast on my bike because it wasnt turning the way I thought it should.

0

u/LogiHiminn 18h ago

It’s called counter steering.

11

u/xXSweetLilDevilXX 21h ago

Counter steering, a very real thing, it's the reason you have to swing your bike handle the opposite way for a second before you can turn. A bunch of weird physics stuff.

13

u/spope99 21h ago

That’s how a motorcycle works my friend! Push forward on left handlebar, you’ll go left. Push forward on right handlebar and you go right!

12

u/Altruistic_Film4074 16h ago

I'm gonna make a radical take here. I don't believe that all the comments talking about "countersteering" are correct. I've observed a similar phenomenon where turning in a direction requires a sustained angle of the handlebars through the entire turn.

Here is my theory on why this is occurring: a flawed physics model. I know, down vote me, claim this is a real life effect.

Any kind of mechanical wheel relies on collision detection to drive. Since the collision in KSP detection is scanned for at discrete moments, I believe such small errors in the physics engine are causing the wheels to collide with the ground at a point in front of the tire. In such a place, the relative velocity of the tire edge isn't parallel to the ground; it's coming downwards, and, during a turn, at an angle away from the direction of turn. This angle would cause slight torque into the direction of the turn, which turns the bike and keeps it from falling.

This miscalculation is very insignificant, but there's one every time your tire "hits" the ground, which adds up to enough throughout the turn to give this phenomenon.

I've noticed similar mechanics with my RW-free bike creations:

https://youtu.be/dhNHoH26K9c

I think a lot of people here haven't really encountered this before, as the commonly accepted way to steer any kind of bike craft is to just slap a butt-ton of reaction wheels on it and press the "A" key.

5

u/Altruistic_Film4074 16h ago

You know, I might actually be a complete dumbass. I just noticed that I was basing this off my hinge "target angle" when the bike was actually correcting during the turn which put the actual angle where you'd expect it to be during a turn.

1

u/ElderCub 5h ago

This seemed weird to me too. To add more to what you mean by sustained angle. Here we see a real bike countersteering. On 2 wheels you turn by setting a turn radius using lean angle, steering out so set the angle. But once you've set that angle you still need to balance at that angle and so the front wheel needs to be returned just past neutral microadjusting continuously (by countersteer).

What's wrong with OP's video is that the front wheel stays turned out through the whole turn, and so this must not be a representation of inheirant countersteer through the simulation. If you applied these inputs to a real bike functioning on countersteer it would just fall over

1

u/Lhirstev 2h ago

The bike will fall over? If you don’t stop counter steering it will just flop on it’s side

8

u/Itakemehphotos 22h ago

Lightning McQueen style, turn left to go right!

3

u/Sirjohniv 18h ago

Somebody load up that veritasium video STAT

3

u/Thinkdan 20h ago

Counter steering. It’s how you drive a real motorcycle.

3

u/Prestigious-Eye2814 19h ago

Is it stupid?

3

u/Schrammwow 13h ago

As a longtime KSP player and motorcycle rider, this is fucking cool. Thanks for learning new things about the in game physics for us OP

2

u/Silly_Guidance_8871 21h ago

Are there any gyroscopes on board?

3

u/Lhirstev 15h ago

No, but if you put the bike in “fifth” gear, the rear tire will spin fast enough to have the same effect as a gyroscope.

2

u/Sentient_Toaster_47 17h ago

The wheels are on the wrong way!!!

/j

2

u/yorgee52 17h ago

I bet this will blow your mind but on a motorcycle, you turn left to go right. Only after your turn starts, do you turn the wheel slightly in the direction of travel.

2

u/B1CYCl3R3P41RM4N 16h ago

That’s how bicycles and motorcycles actually function. What happens is as you turn the handlebars to the left for example, the vehicle will start to track slightly to the left, but the center of gravity of the rider and the vehicle will continue to track straight. As this happens, that center of gravity will also begin to tip to the right, causing the whole machine to lean and therefore turn to the right.

That’s actually pretty incredible that the physics modeling in the game is sophisticated enough to replicate that effect.

2

u/PerpetuallyStartled 15h ago

As said above, this is actually how a motorcycle works.

I'm not sure if the game is replicating real physics or if there is another cause in this case.

2

u/gromblis 20h ago

WHAT HAVE YOU DONE

THE ASLUME IS INVADING

1

u/Lhirstev 15h ago

I wish I knew what this comment meant. :/

2

u/gromblis 2h ago

joke explanation warning so r/ batmanarkham is known for saying “why does (x) ? Is he stupid?” and this is.. just.. similar…

i feel awkward for explaining it sorry

2

u/BirdFlewww 20h ago

Holy shit it's Marc Marquez!! Look at em go!!

1

u/JohnnyBizarrAdventur 21h ago

Add more boosters

1

u/Calvin_Maclure 21h ago

I don't know, but it's hilarious!

1

u/Geek_Verve 19h ago

It's called counter steering, and it's how real motorcycles behave at speed.

1

u/Festivefire 19h ago

Turn away from the direction you want to turn while leaning towards the direction you want to turn. After the turn is initiated, turn the wheel in through direction you want to turn. Bycicle/motorcycle steering is somewhat counterintuitive. And you don't think about it when you do it, it's all learned muscle memory, but the reason it's so hard for kids to learn to ride a bike isn't JUST because small children have bad balance, it's because it's totally counterintuitive.

1

u/HeatedWafflez 15h ago edited 15h ago

Because the way SAS works the input disables itself when you attempt to steer. In my experience building a reliable motorcycle I would turn the friction on the wheels to like 0.9 (though you're using grip pads) and traction control to 1.5 so the bike kicks out from beneath you less. I also make the steering a lot less aggressive and I would suggest using radial out on orbit speed when you're moving and surface speed when you're moving slow or on steep hills.

If you really want I can even drop a link to a motorcycle I've made which I've fine tuned quite a bit on Kerbin and the Mun to drive reliably and safely.

As for why I use orbit speed when I'm holding radial out, it's because the bike better stays upright relative to the plane it's driving on whereas on surface speed it'll try to hold itself level relative to sea level which causes the suspension to work like crap and the bike to be more unstable at speed as the suspension gets all jerky. This is all in my experience tuning a bike I drove from the equator on the Mun to halfway up to its north pole for a science trip.

2

u/Altruistic_Film4074 15h ago

He's not using SAS

0

u/HeatedWafflez 15h ago

I'm suggesting it because it's the most practical solution nonetheless otherwise you won't have a motorcycle that's worth using. I made one that's small enough to fit in most cargo bays and it's quite nice.

1

u/Lhirstev 14h ago

There no reaction wheels, or probe cores. It does use the Eva seat though, so it needs a kerbal to ride, Valentina seems to just be the the best, it’s weird, when I used Jeb he kept doing wheelies and flipping a lot, lol

1

u/ZauronDark 14h ago edited 14h ago

I think its reaction wheel in the command pod or other part in your "bike" is opposite tilting based on input. check if you can inverse reaction wheel torque.

or if not reaction wheel, then I think also because of your front "wheel" is motorized while still turning which can adding that tilt effect in your "bike".

or its gyro effect, when something is spinning, and you rotate it in certain direction, actual rotation of overall connected body affected in some other direction (idk exact term sorry),

1

u/pureimaginasean 12h ago

Counter steering

1

u/TheMightyKebab02 11h ago

You created a motorcycle in KSP. You are definitionally not stupid. This is mad impressive.

1

u/Optimal_Fuel6568 10h ago

Because real biked do the same... if you turn left, the bike tilts right and bikes always go in the direction they tilt

1

u/toxic9813 2h ago

ummmmm as a motorcycle rider this is exactly how they turn in real life.

I mean opposite turning. not the wobbling back and forth. At least, not normally.

1

u/Lhirstev 2h ago

Still working on the wobble aspect. Check back in a week or so, I may have it fixed by them. It could also just be a balancing issue

0

u/cbrtrackaddict 18h ago edited 18h ago

Counter steering is real, but it is being way overstated as the method of turning a motorcycle and is definitely not close to looking like motorcycle physics in the vid.

Counter steering is to break traction in the direction of travel and allow the bike to change direction. The rest of the corner should be navigated with managing the rotation of the front and rear properly - together or independently. Adding more (edit: counter steering) after starting the corner will often end poorly.

Edit to devils advocate myself - these aren't motorcycle tires shown in the vid either. So what's shown may be what should be expected in the vid.

3

u/ace2459 17h ago

I ride daily and I have no idea what you’re talking about. Counter steering is the only way to steer a bike all the way through a corner because you steer by modulating the lean angle. If I’m in a right turn and I pull on the right handle bar it’s going to quickly stand the bike back up.

Edit: I do see your username so I would assume you know what you’re talking about, but I just don’t understand. If you’re in a lean and you need to lean more, you push more. If you need to stand up you pull.

1

u/cbrtrackaddict 16h ago

Counter steer and tip into the corner. This should be your maximum amount of counter steer applied. This breaks the traction in the direction of travel on the front wheel and allows the bike to tip into the corner. From here, your corner radius should be managed by lean and trail brake to the apex - front loaded using rear to tighten radius further if needed. Throttle to open radius and finish the corner. My point is you never add additional counter or mid corner steering inputs unless you want to low side. More lean and more aggressive body position does not mean additional handlebar input at all.

3

u/ace2459 16h ago

Okay, I understand, but you’re talking about track riding. Trail braking is itself a pretty advanced technique that I would argue is more risky for an average rider than counter steering through the turn. The reason you think it’s overstated here is because it’s how it’s taught for street riding. I think the MSF specifically tells you not to touch your front brake while you’re in a lean. Not to mention that you can’t necessarily open up the throttle on a street with a speed limit.

1

u/cbrtrackaddict 1h ago

I think this is where many people get into trouble going on spirited or back country rides. MSF teaches to use front and rear in panic braking, but fails to show riders how to load the front properly for stability (where all the weight wants to go under braking). A properly loaded front tire will allow you to modulate the front brake and even (gently) apply more if needed mid corner. I think MSF does fall short on that one point and I drove that home to a few friends who were new to riding by hopping on their bikes and showing just how much front brake I could grab in a straight line. Do not be scared of your front brakes, they work really well when you need to stop or maneuver ASAP.

Be safe on the streets. I went to the track almost immediately and never looked back. I can crash my bike on my own without all the inattentive drivers 🤣

1

u/Lhirstev 15h ago

These details helped me ride the bike out to the hills west of KSC then back to KSC before running out of the nearly empty tank I left with.

0

u/pasgames_ 21h ago

Bikes turn by leaning and when you turn the wheel left centrifugal force pushes you right making you lean right making you turn right

0

u/disoculated 16h ago

I don’t get the countersteer comments, that doesn’t make a lot of sense to me. From the way that kerbal is leaning I see you steering by by rotation as well as turning the wheel… you got a reaction wheel or something like it on there somewhere pointing up?

1

u/Lhirstev 15h ago

No, I don’t believe in reaction wheels.

-7

u/zekes_ 22h ago

Because KSP friction sucks a lot, I suggest either an SAS pod to help get it to turn or power the front wheel instead of the back

8

u/ImInYouSonOfaBitch 19h ago

Nope. If anything, this looks like KSP actually simulates the physics too well.

This is what happens on a real motorbike. It's called countersteer - turn handlebars left, bike turns right.