Forum Discussion
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!
- 2 years ago
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.
- 2 years ago
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!
- 2 years ago
Thank you, yes. This is really all of it.
Now we just need a coder to implement it into the game.
- 2 years ago
I like your paper photo more! haha just kidding. But it did look very chaotic and cute. Like a frankenstein trying to work it all out. Messy chaos of orderdness. 😉
It was raw and pure 😎
Now its smooth and neat. 🤓
- 2 years ago
haha, I know what you mean. I added allot of little bits of commentary and tips and clarifications on the paper image.
Let's do one more for fun. And call it a day.
X is minus 80 and y is minus 50
formula result: 57,9946°
x and y is negative so logic gate #3 is subtract answer from 180 and make negative.
180 minus 57,99 =122
and make negative
is -122,0054 degrees
(X, Y) = (-80, -50)
is - 122.0054 degrees steering.
That is 122 degrees of steering to the left. Anti clockwise.
It ALWAYS works! I love it! 😃
My formula is so accurate. mmmhhh... 🤓
- 2 years ago
I wanna do an easy one. X=-50 and Y=50
The result should be -45 degrees. Obviously.
But lets put the x and y values in your formula, just for fun.
Result...
Yep my phone remembers the previous calculation using your formula. I changed the x and y values to 50.
Calculated the result and it was a perfect 45 degree.
x = neg and y = pos
which is logic gate #2 = make answer negative.
that is -45 degrees of steering =D
So that is to the left. Anti clockwise. -45° steering
The formula is perfect, as long as the 4 main logic gates are applied. Which require negative or positive value. And the formula strictly only allows positive values. So if x is minus 50 then the formula accepts only if you enter 50. and not minus 50.
So how do we ignore negative values for x and y in the formula? And yet, not in the logic gates?
If we are going to automate it, which is the whole point... Automation xP
Then we need a way for y and x to always be positive. Especially when they are negative. for formula.
How do you ask a computer to do that for you?
Maybe we should make the current 4 main logic gates into 4 sub logic gates and make a new main logic gate removing all minus values and make then positive for the formula, yet not for the 4 sub logic gates, which are your current main 4. because positive and negative are necessery there.
- 2 years ago
Ok, more improvements! You're my man.
So
For Formula:
if (x<0) then multiply by -1
if (y<0) then multiply by -1
enter values in formula
check 4 logic gates for neg or pos x and y values and apply the correct logic gate.
Sounds good?
I am not a coding expert xD
- 2 years ago
Well, that was easy... I thought it would require a whole bunch of extra codes.
I provide the problem, you provide the answer. xD
Good teamwork.
Now we need to make it so that negative values only become positive for formula and not logic gates. What kind of line of code would do that?
- 2 years ago
As I already said, I am by no means a coding expert.
We need a coding expert up in here, this place, FOW DHAAT!
Any coding expert in da house?!
Yooohoooo, helloo🤭ooo?!
Anyone in here that can actually write code?
How do we apply removal of negative values, only for formula, and not for the logic gates that come after it?
We need to tie the command to the formula with some kind of digital rope maybe?
hello? Anyone here can Code?!
Codemasters maybe? =D
lets have a nice chat about the 360 degree of steering on the left thumbstick using only the x and y values it has. I already written 80% of the code/logistics, but we need an actual coder to smooth this up and apply it to the game. in actual code.
Or maybe my amateuristic funny attempt at coding 360 degrees of steering on left thumbstick will come as hilarious and good laughter for you. =)
I'm always glad to make someone laugh. It doesnt matter if I look silly. I would love it if you can laugh about my attempt. Especially if its about 360 degrees of steering on left thumbstick!
full 360 freedom racing, YEAAAH!
Let's go!
- 2 years ago
It's awefully quiet up in here.
Especially considering how brilliant your idea is.
And that you've already done 80% of the work to implement it as ready to use in the game emmediately.
Like... Yesterday kind of ready.
Or maybe not. I dont know coding.
so...
You're welcome to jump in. Coder or not. Everyone can come up with a good idea to make this easier for the developers to implement I guess. Sometimes even representing a problem can bring about a solution. Improvements build over time.
Eventually someone is gonna say, "Yeah thats easy peasy lemon squeezy. In the game and patch.... Let's gooooo!"
- 2 years ago
Haha, yeah. I hope so. 🙌
lets get this feature implemented. check my codes, formula and logic gates. took me allot of effort to make all of that. maybe it will increase the chance of this feature being implemented.
I will even continue to improve later on. Apply automated coding line for the negative value transposer for formula.
You might be glad ur working with experts, that's how long it took me to write the code/formula and logic gates.
- 2 years ago
I didn't want to feel completely useless. So I editted your function coding/logic chart. To make it more automated. But I dont know the actual code this game needs and where it needs it, in order to even allow the possibility of utilizing these functions for the sweet 360 degrees of freedom in steering.
- 2 years ago
Hey there again. Thank you helping. That looks very good.
I wanna test the most extreme state Y=-100 and X=0
This should give a double result. Max 180 degrees and -180 degrees simultaneously.
And so it would break the code maybe. Maybe we need to set a deadzone for Y=-100 to - 96 and x=-4 to x=4. and y=100 to 96.
Ignoring those values and make it neutral should fix it.
Except, we dont want max steering to accidentally become neutral.
So instead of a deadzone it will save polarity state, neg or pos. And hold it there in the max negative y values of deadzone.
So we need that aswell.
But first Im gonna check formula result. See what happens.
Entering X=0 and Y=-100 into formula.
Check logic gate. There is no logic gate.
logic Y<0 so multiply by - 1 = 100
Result: 0
Cannot apply logic gate. So we need a deadzone to ignore the extreme values. Otherwise the functions fail. x=0 y=100 or - 100
But who cares right? 352 degrees of freedom is more than enough. That is still 195,56% of accuracy.
- 2 years ago
Wise that you are testing the extremes. Not sure how we are going to hold polarity on deadzones where y is neg.
If Y=neg and x>-4 and x<4, then retrieve and hold previous polarity as 180 or -180.
If Y=pos and x = -4 to 4. Then deadzone. Neutral, 0.
But how to retrieve previous polarity. We need to code an x value polarity memory of 3 values. Or just 1 to be save from radical thumbstick movement.
But the steering speed is already in the game. So going from max pos to max neg or vice versa, it wont happen instantly.
And we need a way to release the deadzone that is being held. Or not. I dont know.
- 2 years ago
That would require actual in game testing of the code.The basics is already there. It's just the fine tuning that is hard. Especially without having acces to the program. We're shooting blind. We don't even know the coding logics of the game. And what is possible and what not
- 2 years ago
I also wonder if the length of the formula is going to affect performance.
- 2 years ago
Not at all, my cheap phone calculator gives me the answer already before I am even done writing. It even gives outcomes while I am writing. It would be very funny if a gaming pc or console would have a hard time with it.
Otherwise Codemasters can beta this feature in pc games. As an optional controller feature.
- 2 years ago
Ok, this should prevent steering from shifting polarity at max angles. Makes it feel way more natural. Or intuitive. I mean intuitive. Like a steering in real life would behave. Going max or over max should not suddenly make the steering wheel shift polarity.
- 2 years ago
Thanks, that is a clever way to do it. I fixed bugs and writing error.
- 2 years ago
Yeah, that should do it.
Writing code is hard. I really appreciate the work they are doing at cosemasters. Unimaginable skill and cleverness and logic they have. To make such a big and smooth game. I'd do anything to make it easier for them. Hope this does it. If not, inspire 360 degrees of freedom of steering on the left thumbstick.
- 2 years ago
Yeah I can't imagine how big of a project it is to make such an all inclusive game. Maybe they work so hard, they forgot the little things. Like what a thumbstick is actually capable of doing.
The industry is so habbituated to simply use positive and negate x axis for steering. While combining x and y axis and applying the formula to it. Its double the steering accuracy and sensitivity and range and realism and immersion and intuition. Just value after value after value, always been there, looking them right in the face, all these times, it was always right under their thumb. The thumbstick itself and its ability to rotate 360 degrees. It has been so obvious for so many years of the racing games industry, that people have become oblivious to it. It's too simple! It's like a diamond on the floor. And thinking... Nah thats just a piece of glass. And the same with the thumbstick. Actual race game developers always look it and it and think, "nah, thats just left and right stick."
How easy it is, that a simple random person like me, or you, can write the entire code and formula to have a fully functional 352 degrees of steering accuracy and range on the left thumbstick.
With all possible bugs and issues averted. To make it fully functional.
Then how simple must it be for an actual game programmer to implement the most valuable thing in the racing game genre. The ability to steer your car.
I am giving them full free value. But they don't look for free value. Otherwise they wouldent have come to where they are now.
So maybe I need to sell my idea to them, so that they actually realise how good of an idea this is. How much value there is in it.
People don't seem to be willing to consider free things.
A fan always asks something. Like "can I have your autograph. Or can I make a photo with you?"
No fan just comes up to the famous person and throwing money/value randomly at them.
And game developers look at other developers. And they don't see anyone implementing it. So it goes unnoticed. The very idea becomes invisible, no matter how often they look at the thumbstick. They still cant realise it.
How can a thumbstick be so accurate? Well, I am just going ro assume that it cant, like I have always done. Simply out of habbit. And develop all these complex and unnecessery functions to make it drivable with only the x axis. Because for some reason, it has been so ingrained. Even the camera control on the right thumbstick use x and y axis for accurate control. But utilizing the Y axis for steering? Noooo, impossible! They cant even come up with the idea, being waaaay too simple and having waaay too much value. It has become obliviously obvious! They cant see it while it has been staring them right in the face. For so many years. God knows how long.
The thumbstick was invented since the days of playstation 2. And still, no one on the entire planet knows about it. The left thumbstick can be utilized for 360 degrees of steering.
It simply makes no sense. I understand the y axis on an airplane is needed for vertical steering. But in racing games, the y axis has never been utilized.
Even tho a random person like me writes the code for it. completely for free. Its weird. Just weird. The universe is weird.
They can make a commercial and advertise about the fact that their game has 360 degrees of freedom steering, and everyone will buy their game. Because no other game has it. It's too much value to be believable.
- 2 years ago
Nah I think someone will eventually figure it out. And the whole industry will quickly pick up on it very soon after.
It's like.... Come on... How easy is it to make a 360 degree steering, considering all the amazing mindblowing things game developers are able to achieve. This one is very easy.
Maybe you are right, maybe they are blind to it.
But who cares. Other developers will pick up on it and then they will simply copy and paste. This is not some kind of thing that needs patenting. All fps games use the x and y axis. for full 360 degrees of movement. and even 3 dimensions of camera control.
360 degrees of steering is easy. People can see and even check or apply the code, its on page 6.
- 2 years ago
Yeah. Apply any x and y values from your thumbstick to the code on page 6 and see how accurate it is.
- 2 years ago
Do you want me to check for possible errors?
- 2 years ago
Nah, you've already helped enough with resolving the deadzone and max polarity issues.
I want anyone to check it out, especially ea codemasters. The final code on page 6 is completely ready for review and ready to be applied to the game. By someone who is actually authorised to do that. And capable doing so, ofcourse.
About F1® 23
Recent Discussions
- 4 hours ago
- 20 hours ago
- 12 days ago
- 27 days ago