Forum Discussion
65 Replies
Yeah it seems so. cant post calcules. Which is kind of weird. Seems like the forums have calcules phobia. it is considered spam. We are trying to display calcules. But maybe post in image.
ok hope it works. small file.
Yeah I already read it a while ago, and ur right. There needs to be an automated way to translate x, y values to degrees.
and I spent over 10 hours to perfect THIS! Codemasters dont have to do anything! haha.
Only write the logic gate in correct code and voila.
100% always accurate 360 degree steering based on this formula I made and the logic and according sub logic gates it has to go through. Here it finally is! The complete masterpiece. All the formulas and codes to allow for 360 steering on the left thumbstick, based SOLELY on the x and y values of the left thumbstick.
I hope you enjoy this!
All the wonder on just 409 kb jpg image.
Haha, ordered chaos, I love it! 🙌
I cant wait to use it. This is so amazing. Love the huge formula.
So lets say I wanna know steering angle of x=76 and y=-34
I enter x and y values as positive in formula.
I got: 65.9 degrees.
y is negative and x is positive
So logic gate 4
subtract answer from 180 degrees and make positive.
180 minus 65,9 is 114.1 degrees positive. meaning clockwise or to the right.
It works! just knowing x and y as 76 and minus 34 we got an angle of positive 114.1 degrees of steering to the right.
the sublogic gate is false tho and has to be fixed.
Yeah, I got so exhausted making the actual formula. then I had to do logic gates. but sub logic gates not tested. Both logic gates needs further fine tuning and work. I leave it as is for now. I'm gonna take a rest. This has made me really tired. 😳
I gotta admit tho. I kind of got addicted to developing this formula for 360 steering on left thumbstick with y and x axis only. Even tho I'm tired, I wanna fine tune the logic gates.
Logic gates seem fine, but sub logic gate can be deleted maybe.
I'll try with a higher y value.
so x is 23
and y is -72
put in formula, I get:
17,7 degrees.
y is negative and x is positive
so logic gate 4
subtract answer from 180 and make positive.
180 minus 17,7 is 162,2842 degrees to the right.
Hey it works so great! But you can delete sub logic gate it seems they dont add much.
Maybe test for positive y values and then check if its really necessery for logic gate 1 and 2.
Ur right, I should delete the sub logic gates, at the bottom, altogether.
the 4 main logic gates work fine.
I did x is minus 78 and y is 18
formula gives 77 degrees
x is negative and y is positive so
Logic gate 2, make answer negative.
is minus 77 degrees of steering. So 77 degrees to the left.
so
-77,0053832080
For X, Y is -78,18
Im gonna do couple more to see if main 4 logic gates are really sufficient 100% of the time. So far so good.
Yeah... I did two logic gate 1 values of higher x or y. And both time the sub logic gate was completely irrelevant and flawed. Delete it.
if x is 43 and y is 22
enter formula and get 62.9 degrees
x and y both positive, so logic gate 1 is leave outcome.
X, Y, (43, 22) is 62.9 positive degrees, so to the right.
Now I switch to check
x is 22 and y is 43
enter in formula and get 27,0955 degrees positive to right.
again both x and y positive so logic gate 1, leave answer as is.
we get 27 degrees, positive so to the right.
It works flawlessly. No sub logic gate necessery. You probably made it from exhaustion. haha. but otherwise works perfectly fine! on any and all values and all 4 main logic gates.
wonderful! thank you!
Now we have not just proof, but a formula to proof that 360 degree on thumbstick works. negative 180 to left and positive 180 to the right.
LETS CELEBRATE WITH SOME MORE 360 DEGREE ROTATIONAL STEERING OF OUR CUP OF COFFEE OR TEA! 🙌
You did it man. You developed the coding necessery for 360 degree steering on left thumbstick, transposing x and y values to degrees through 4 logic gates. your paper jpg. ITS THE BOMB! Excellent!
So to sum it up. I can't post the formula, it gets deleted as spam. So here is the image. formula and logic gates.
For transposing any x and y value of the left thumbstick to degrees of positive or negative rotation, up to 180 degrees positive or negative, right or left, clockwise or anti clockwise.
Brilliant! Absolutely brilliant! It wont get better than this. To bad spam filter does not allow posting of formula for people to text copy. It had to be in an image. But this is it! It's all of it! ALL of it... And it's brilliant!
Now let's get ourselves some full 360 degrees of freedom racing!
About F1® 23
Recent Discussions
- 5 hours ago
- 7 hours ago
- 12 days ago
- 26 days ago