Jump to content
๐Ÿ’ŽYue๐Ÿ’Ž

One more try.

Recommended Posts

ย 

A new year, possibly a simple game, that's the goal. But the first step is to consider and accept my limitations both in hardware power and knowledge. ย  I was trying to learn Shaders, but I guess everything has a limit, and it's time to create something with what I know. Something very simple. So here's a preview. Although Leaders is great I always get to a point where my computer gets into bottlenecks, so let's take the old BlitzMax tools, and create something simple and fun. I think it's time, although I've really tried many times, it seems that this will be the change of learning how to create something. Always grateful to Josh for this space.ย 

Translated with www.DeepL.com/Translator (free version)

image.png.caa5d9c6937c46ae4138d47441da3d27.png

Link to post

Working on the rear suspension of the vehicle. There's the model of the vehicle, two springs and two wheels. ย On the two springs the shock absorber system is set from the vehicle chassis, and from each spring the engine of each wheel is set. Spring and hinge joints are used.

image.png.68cd6542c6429d932ad7c7cfdb38dfc2.png

Link to post

ย 

I have the system as perfect as possible, the next step is to play with suspension settings and have something nice.ย 

From the video I had to rewrite all the code, due to errors in the implementation of joints. Now everything seems to work fine, and by putting engine in the wheels, the car goes forward or backward as expected.

ย 

image.png.ce84ae9541c87e1bab6c72f540001e03.png

Link to post



I have been looking into the issue of probes, and they are only possible in directx above 9. I understand then why my computer has good performance with directx 9, with other things like opengl 4.6 or directx 12 the performance is quite affected.

Link to post

Hey Yue, some few ideas I can tell you, but do as you want:

- you may win moreย stability for your car by faster driving if you set thisย  on all theย 4 axis of the car in the UpdatePhysics() function:

Quote

self.Axes[0]:SetOmega(self.Axes[0]:GetOmega()/4)

- I saw you use SetSpring() - I can tell you I tested this for hours and could not get good result by faster driving. I think it is actually much better with SetMotorSpeed() on the sliders joints.

- Do you use the Update(4) in your main ?

That is more or less what you can get using this, fast with no shake:ย https://youtu.be/1o5ZiMU4SVQ

ย 

  • Thanks 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

ร—
ร—
  • Create New...