News:

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

Main Menu

Horizontal / diagonal wheels

Started by Daniel3D, April 04, 2022, 09:56:13 AM

Previous topic - Next topic

Daniel3D

Something in the shape ideas topic that should have its own.
Quote from: Daniel3D on November 23, 2021, 09:53:55 AM
Quote from: Duplode on November 22, 2021, 10:56:49 PM
Quote from: Daniel3D on November 22, 2021, 08:43:13 PM
I don't think i did anything wrong, but the game crashes as soon as the car begins to move.

How odd. I have tried replacing the STLM02.P3S with the 3SH you have attached, and it worked fine here; no crashes. (The flickering of the wheel primitive is a fair bit more noticeable when it is on the top of the car, but I guess there isn't much we can do about that.)
I cant get my test copy back to normal. but the zakstunts copy does run fine.
found the bug, i inverted the wheel on top.

fixed that and now it looks fine.

Here is proof that you can place a wheel horizontally.
Edison once said,
"I have not failed 10,000 times,
I've successfully found 10,000 ways that will not work."
---------
Currently running over 20 separate instances of Stunts or 4D Sports Driving.

Daniel3D

#1
Did some more testing (while working on the crash sprite bug).
If you can do the calculations, (don't have to be exact) you can place a wheel at any angle.

I did this rotation without calculating, just looked ok enough.   8) 8)

So in theory you can make a steering wheel out of it.
Edison once said,
"I have not failed 10,000 times,
I've successfully found 10,000 ways that will not work."
---------
Currently running over 20 separate instances of Stunts or 4D Sports Driving.

Cas

The ellipses of that wheel are at an angle in the view. That contradicts my hypothesis that wheel deformation occurred because the ellipse-drawing primitive Stunts uses might only be able to draw them with their axes aligned to the screen. I'm amazed that Stunts is actually using a routine that can draw tilted ellipses and still be so fast!
Earth is my country. Science is my religion.

Daniel3D

It does make sense because it's an 'open' track area. With ramps and all kinds of camera possibilities.
So odd angles are to be expected.
But if you rotate the free camera around the car you see there is a redrawing every X amount of degrees.
So (I think) it is kinda like your hypothesis but more elaborate with several orientations but a limited number of options.
Edison once said,
"I have not failed 10,000 times,
I've successfully found 10,000 ways that will not work."
---------
Currently running over 20 separate instances of Stunts or 4D Sports Driving.

Daniel3D

Makes me think if a dune buggy with a roll cage made out of stretched wheels and spheres at the connections would work..
Only 6 vertices for a beam, saves a lot of vertices, but don't know how the engine will handle it.
Edison once said,
"I have not failed 10,000 times,
I've successfully found 10,000 ways that will not work."
---------
Currently running over 20 separate instances of Stunts or 4D Sports Driving.

Ryoma

Quote from: Daniel3D on April 04, 2022, 09:56:13 AM
Something in the shape ideas topic that should have its own.
Quote from: Daniel3D on November 23, 2021, 09:53:55 AM
Quote from: Duplode on November 22, 2021, 10:56:49 PM
Quote from: Daniel3D on November 22, 2021, 08:43:13 PM
I don't think i did anything wrong, but the game crashes as soon as the car begins to move.

How odd. I have tried replacing the STLM02.P3S with the 3SH you have attached, and it worked fine here; no crashes. (The flickering of the wheel primitive is a fair bit more noticeable when it is on the top of the car, but I guess there isn't much we can do about that.)
I cant get my test copy back to normal. but the zakstunts copy does run fine.
found the bug, i inverted the wheel on top.

fixed that and now it looks fine.

Here is proof that you can place a wheel horizontally.

How you calculate it ?

Daniel3D

I didn't. I used some grid pattern paper. Placed an transparent sheet on top. Drew a side view of the wheel on it. Then rotated the sheet and used that as indication for the new coordinates.
Edison once said,
"I have not failed 10,000 times,
I've successfully found 10,000 ways that will not work."
---------
Currently running over 20 separate instances of Stunts or 4D Sports Driving.

Ryoma

Ok finally I used a 10 polygons for the propeller of Airwolf

Daniel3D

Quote from: Ryoma on May 12, 2022, 05:11:21 PM
Ok finally I used a 10 polygons for the propeller of Airwolf
It's a better solution for this than a wheel I think.
Edison once said,
"I have not failed 10,000 times,
I've successfully found 10,000 ways that will not work."
---------
Currently running over 20 separate instances of Stunts or 4D Sports Driving.