Skip to main content

A car? A plane? A very boring janky block?

After one AI search, I learned that what I was looking for is called Joints. So, after moving the boring landscape/terrain stuff into its own Plugin, I got busy trying to make a wheel axle using Joints.

Side note: Did you know that dividing by 0.2 is not the same as dividing by 2.0? You did? Huh, apparently I'm special then. My smooth brain wasn't able to see the difference, and this combined with the fact that I was setting the joints on the wrong side of the axis, costed me about 4 hours of trying to figure out why everything exploded as soon as it got connected.

But alas, I managed to build the wheels on axles that I had envisioned, and the results were!!... very underwhelming at best... +sigh+





The way I set up the spring-like Joints made the car's axles unstable and shaky, and the car was barely able to turn. On top of that, the wheels kept on spinning for some reason.

In light of that, I gave it a quick (desperate) try to set the front axle to be the one in control, both acceleration and turning-wise, but I failed. All I got was a sad boring static box.

So, I'm frustrated and it looks like it is back to the drawing-board for me. There isn't much info (besides some examples) on Avian Joints, but I guess the concepts aren't exclusive to this Physics Engine, so I'll look at other places. Hopefully this new week it will go better. 

-CAV

Comments

Popular posts from this blog

First goal achieved!

Good news imaginary reader! After a couple of hours of tinkering around with some examples ( this simple 3D scene , this introduction to keyboard input , and this example about rotation ), I was actually able to build the simplest prototype ever. A block that can move, speed up, turn and get followed by the camera. Now I just need to polish and I'll be ready to release a masterpiece. Just a tiny bit of polish though, I don't want to over do it to impress so many people. Ok, wild fantasies aside, I'm surprised that it was as simple as this to get this result. Now I need a new goal, so let's take it up a notch. How about if now we introduce real acceleration, braking, and a bit of friction so that it comes to a halt when inactive? What did you say? Ah, yes, indeed, I agree with you. It sounds like a good step. Thanks for the emotional validation. Well, see you soon. Let's hope this doesn't take long. -CAV

First steps

It is a bit naive to even come close to doing the MVP I intend to without any sort of practice, so like a good boy I've decided to follow Bevy's Getting Started guide . Took me 4 days to finish it, mainly because I decided to take a break in between (one can never be too lazy), but also because I got a bit ill from eating "old" cake (I swear I'm not making excuses up). Anyway, today I've finished the guide and think I've grasped the basics of Plugins, Systems, Components, Bundles, Commands, Queries and Resources. I'm totally ready to start programming a high-performing 3D multiplayer game. Yes. Super ready... oh god, this is going to be rough, isn't it?... Sigh... so now I had no direction whatsoever after finishing the guide. I decided to copy and paste one of the 3D Shapes examples in the Bevy repo. Pretty, isn't it?... I have no idea how the hell it works or to make use of it. So, for a moment I thought "maybe I should go back ...