C
C#4mo ago
Phyron

ai code for c'#

Im workind on a pong game for a project tryin to add my own twist and stuff but the ai stuff is catching me out hard so i kinda stuck and need help
11 Replies
Keswiik
Keswiik4mo ago
You're gonna have to give actual details if you want help. There's no code, no explanation of what issues you're encountering, or really anything to work with here.
Phyron
PhyronOP4mo ago
mb im new to this one sec
Phyron
PhyronOP4mo ago
this is the code bbut in the unity my ai paddle goes weird like when i start the game and move the ball towards it it just goes to the middle instead of tracking the ball then tracks the ball when the ball is moving away.and second when the ball moves away from it jus tfully goes until it reaches the middle barrier says thier in the middle then when the ball is coming back it just zooms back to the back idk how to explain but i could show on call
No description
No description
Phyron
PhyronOP4mo ago
the ai is the left
Keswiik
Keswiik4mo ago
not getting in vc
Phyron
PhyronOP4mo ago
np do u need more info
Keswiik
Keswiik4mo ago
may be better off asking in $unity
Keswiik
Keswiik4mo ago
but for starters you should probably add some unity debug statements to your code and validate that your logic is working the way you expect it to
Phyron
PhyronOP4mo ago
wym im kinda new to this stuff im a beginner
Want results from more Discord servers?
Add your server