News:

Herr Otto Partz says you're all nothing but pipsqueaks!

Main Menu

If my duck had wheels...

Started by HerrNove, March 20, 2026, 05:43:53 PM

Previous topic - Next topic

HerrNove

Hi guys, I'll just casually drop here a couple of screenshots from a side project. I will elaborate... soon.

restunts_000.png

restunts_001.png

HerrNove

Maybe some car creator can teach me. The thing in attachment should be the Red Baron's triplane. Can you help me understand why the wheels are not turning, but another part of the model is steering?

(Yes, we might disagree about the meaning of "red", and the cockpit suspiciously resembles the Silverado's. Try to ignore those details, pretty please :) )

@alanrotoi , you who made spherical wheels on the Hexa! Maybe you can enlighten me?

Alain il professore

Hello my friend,

Rapid diagnosis says coordinates misaligned with what the game awaits as XYZ origin. It should be closer to the center of gravity of the object on the ground level.

Then about wheels, first the first four polygons of the obj file must be wheels and the wheels vertices need to follow a precise order to be displayed as wheels not turning.

I don't have time trying to reverse engineer how you messed up, help me understand by elaborating about your method.

Keep trying to make kites, you'll end up making better cars.

Your, Alain il Professore.
It is reasonable to expect that genetic influences on traits like IQ should become less important as one gains experiences with age. Surprisingly, the opposite occurs.

dreadnaut

Quote from: HerrNove on March 20, 2026, 06:10:32 PMYes, we might disagree about the meaning of "red"

That cracked me up ;D

HerrNove

Quote from: Alain il professore on March 20, 2026, 07:30:02 PMI don't have time trying to reverse engineer how you messed up, help me understand by elaborating about your method.

I have vibe-coded a Blender-to-3SH converter. I know CarWorks offers some import function but is very limited, and crashes when I try it on my model. So I produced a more advanced converter that fits my needs, and now I will slowly polish the rough edges.

Alain il professore

Hello my friend,

Tell your converter to inspire from what comes from the game's original obj exported from 3SH, respecting the polygons positions relative to the same origin, in the middle of the plane, not it's nose. Also if you don't want the plane to hover on the track, this origin should be +8 units higher.

It is reasonable to expect that genetic influences on traits like IQ should become less important as one gains experiences with age. Surprisingly, the opposite occurs.

HerrNove

#6
Quote from: Alain il professore on March 21, 2026, 10:23:46 AMHello my friend,

Tell your converter to inspire from what comes from the game's original obj exported from 3SH, respecting the polygons positions relative to the same origin, in the middle of the plane, not it's nose. Also if you don't want the plane to hover on the track, this origin should be +8 units higher.


Thanks for the tips! The crazy thing is that I could probably literally "tell my converter", copy-pasting your comment in Qwen (great free tier, highly recommend if one wants to discover LLM coding assistants without paying).

By the way I remembered that wheels are actually optional, so I removed them (should I maybe manually mount a couple on the landing gear? Lots of improvement possibilities...). It would be great if I could make the tail rudder steer, but we are already in advanced territory.

Anyway, I am already pretty happy that the converter works. There are a lot of Blender models out there that could now be imported in a easier way, using Stressed or Carworks just for the last Stunts-specific adaptations.

Alain il professore

Hello again my friend,

I obtained a 3SH generator from a generated prompt.

The Stunts 3sh 3degenerator

Here's the first creation of a IMSA CAR from the stunts 3SH 3degenerator version 0.1





Asked for a 205 style body




This new wave of Stunts 3D art sure got potential!
It is reasonable to expect that genetic influences on traits like IQ should become less important as one gains experiences with age. Surprisingly, the opposite occurs.

alanrotoi

Quote from: HerrNove on March 20, 2026, 06:10:32 PMMaybe some car creator can teach me. The thing in attachment should be the Red Baron's triplane. Can you help me understand why the wheels are not turning, but another part of the model is steering?

(Yes, we might disagree about the meaning of "red", and the cockpit suspiciously resembles the Silverado's. Try to ignore those details, pretty please :) )

@alanrotoi , you who made spherical wheels on the Hexa! Maybe you can enlighten me?

If the wheels doesn't turn it might be because they must occupy the first positions in the polygon list.

HerrNove

Quote from: alanrotoi on March 21, 2026, 02:53:56 PMIf the wheels doesn't turn it might be because they must occupy the first positions in the polygon list.


Thanks for the insight! I'm OK with the wheels not turning (that landing gear seems quitr fixed) but I'd like to make other plane components rotate when turning. It seems however the usage of non-wheels as steering components is not fully documented yet, so I'll try to figure out what can be done.

alanrotoi

You can check more info about it in the "dinosaur car" thread. (I couldn't find it to link here, but take a look in the forum, it must be there somewhere)

HerrNove

Quote from: alanrotoi on March 21, 2026, 08:11:08 PMYou can check more info about it in the "dinosaur car" thread. (I couldn't find it to link here, but take a look in the forum, it must be there somewhere)

I think you mean this here. But even @Overdrijf has not has not published his findings, if any. But his dinosaur & dodo behave well, so maybe he managed to discover the secret of polygonal steering...

dreadnaut

Just a reminder that Imgur is not reachable from some countries, and all those images will be lost if it goes out of business. Let us know if there are any difficulties uploading to the forum.

HerrNove

#13
I asked Qwen and found out the key algorithms, and maybe even something hitherto unknown! The special wheel movement is governed by `sub_204AE` in Restunts.

* Vertexes 0–5 and 6–11 of the car model are rotated according to the position of the steering wheel. Since a wheel primitive has six vertexes, the algorithm works correctly if the first two primitives of the car model are the front wheels.
* (new discovery?) Vertexes 12–17 and 18–23 are shifted vertically according to what the LLM calls "suspension compression values". When the car is in air, the back wheels should slightly extend below the car's base plane, and upon landing they will instead be pushed inside. Has anyone ever noticed that? (EDIT: yep, was mentioned by Duplode years ago). Maybe I could alter the game code to exaggerate the effect...

In attachment the full output of Qwen. It is LLM slop and not to be read by casuals, but I feel justified in attaching it since it might be of interest for future tinkerers.

Alain il professore

It is reasonable to expect that genetic influences on traits like IQ should become less important as one gains experiences with age. Surprisingly, the opposite occurs.