r/Unity3D • • Aug 28 '24

Show-Off Control Unity Engine with ChatGPT

0 Upvotes

63 comments sorted by

View all comments

4

u/GamerObituary Aug 28 '24

Can I genuinely ask without getting any hate. Why do you guys hate so much AI tools like ChatGPT or this one?

Isn't it better to make things work easily for everyone, to boost creativity instead of hard worked codes?

I'm just a Game Dev Student, so I'm asking to understand lol

2

u/Fawflopper Aug 28 '24

I want to assume two things :

-ChatGPT is ass at making code, most of the time it won't work and waste more time than anything

-If ChatGPT was to be working in a decent way, it would get hate the same way Artist hate generative AI that makes images, musics ect... Why hire a dev when you can generate a code that (kinda) work, without learning or paying anyone?

I think the best use case for ChagGPT right now, is just to use it for what it does best, generate conversations, and at best, call a function after it decides it is necessary to call it.

For example you have an NPC and you want it to talk and.. I don't know, end a conversation for example.

You will want to access Chatgpt API or have your own local gpt deployed in your game and have it generate responses like :

{ "speech" : "my shift is about to be over, hurry up", "func" :"[NULL] " }

{ "speech" : "I'm sorry but I have to go, tell me about that later", "func" :"leave" }

Those are just examples.

-2

u/GamerObituary Aug 28 '24

That makes so much sense, thanks for the response. But still not agreeing entirely with you, cause Chat GPT can write a lot of code, but is up to you if you use and upgrade it or just copy paste into your work and make a lame work...

But again thanks, I now understand better ✨

4

u/Fawflopper Aug 28 '24

That's why I said it's an assumption, I don't use it to write my code, so I wrote two cases where one is, the code is ass, two the code is decent.

-2

u/GamerObituary Aug 28 '24

Yeah, but it helped a lot to understand anyways.

Instead of just downvote my comment like other people lmao

In my case I use it to code, but I don't like it to do all my work. I ask GPT about codes I don't remember or understand, ask for methods, functions and more specific things (for example, if it's better in performance do option A or option B, etc)

3

u/Fawflopper Aug 28 '24

Yeah don't worry, reddit be reddit lmao.

The way you use chatgpt, especially asking it why A is better than B is the best way in my opinion to learn with it.

2

u/GamerObituary Aug 28 '24

funny to see more downvotes in my coments lmao

Hope to see some posts from you in the future, mate!

Probably I'll be posting a bit later

1

u/Fawflopper Aug 28 '24

No problem dude, and if you have any question, you can dm me 🙂