- tarehart
- May 9, 2002
-
|
If you like Rocket League and programming competitions, this is for you.
code: public ControlsOutput processInput(DataPacket input) {
Vector2 ballPosition = input.ball.position.flatten();
CarData myCar = input.car;
Vector2 carPosition = myCar.position.flatten();
Vector2 carDirection = myCar.orientation.noseVector.flatten();
Vector2 carToBall = ballPosition.minus(carPosition);
double steerCorrectionRadians = carDirection.correctionAngle(carToBall);
float steer;
if (steerCorrectionRadians > 0) {
steer = -1;
} else {
steer = 1;
}
return new ControlsOutput()
.withSteer(steer)
.withThrottle(1);
}
You can get set up and start iterating on that code in about 5 minutes. There are 10+ people making bots already, and tournaments get 100+ viewers. Fame awaits. You can probably use your favorite language. https://github.com/RLBot/RLBot
Quick start video:
https://www.youtube.com/watch?v=Xn8amOA0cMA
My other venture:
https://www.youtube.com/watch?v=nzEtdDQrhyY
Don't try to use machine learning. Don't join the discord.
|
#
?
Feb 25, 2018 05:38
|
|
- Adbot
-
ADBOT LOVES YOU
|
|
#
?
Apr 26, 2024 21:35
|
|
- tarehart
- May 9, 2002
-
|
I should have posted this in project.log and I'm sorry
|
#
?
Feb 25, 2018 05:44
|
|
- putin is a cunt
- Apr 5, 2007
-
BOY DO I SURE ENJOY TRASH. THERE'S NOTHING MORE I LOVE THAN TO SIT DOWN IN FRONT OF THE BIG SCREEN AND EAT A BIIIIG STEAMY BOWL OF SHIT. WARNER BROS CAN COME OVER TO MY HOUSE AND ASSFUCK MY MOM WHILE I WATCH AND I WOULD CERTIFY IT FRESH, NO QUESTION
|
I for one don't mind this thread being here and think this sounds cool as gently caress. Wish I had the time to personally contribute, but I hope others do 'cause I wanna watch some of the pro-tier developers in this forum duke it out with bots.
|
#
?
Mar 8, 2018 22:56
|
|
- AgentCow007
- May 20, 2004
-
TITLE TEXT
|
Do you have a date for the next tournament? I surfed the Discord and didn't see anything. Looking for a good project for summer break, Python and ML sounds like a blast
|
#
?
Apr 23, 2018 21:13
|
|
- Thots and Prayers
- Jul 13, 2006
-
A is the for the atrocious abominated acts that YOu committed. A is also for ass-i-nine, eight, seven, and six.
B, b, b - b is for your belligerent, bitchy, bottomless state of affairs, but why?
C is for the cantankerous condition of our character, you have no cut-out.
-
Grimey Drawer
|
Cool, I love the idea.
|
#
?
Apr 25, 2018 02:35
|
|
- Veni Vidi Ameche!
- Nov 2, 2017
-
by Fluffdaddy
|
I have never played Rocket League, but I like this idea. I'm glad you posted it in here, because I go into project.log about once per year to check up on BeagleSNES.
|
#
?
May 5, 2018 21:25
|
|
- Adbot
-
ADBOT LOVES YOU
|
|
#
?
Apr 26, 2024 21:35
|
|
- Careful Drums
- Oct 30, 2007
-
by FactsAreUseless
|
Looks cool. What are the chances someone got this working in C#/.NET?
|
#
?
May 15, 2018 18:45
|
|