A few stupid questions... embarassed to even ask, but I need help.

I’d like to start off by saying I don’t want someone to code for me. I want someone to show me where to find this code reference. I’ve looked in the documentation, but even that is overwhelming for me. I’ve been cramming extremely hard the last 6 months learning something I’ve never done before (3D and 2D graphics) as well as being away from programming for 6 months, my brain is literally fried. Between learning scores of programs, learning C# after studying Java, learning 3D and 2D artwork, my job, and studying for my masters in psychology— I just can’t focus to even sift through the API.

Yet I’ve still tried, several times. Programming is so easy to forget, but it comes back so easy… I just can’t break that initial “return” barrier in my jumbled mind. I don’t just need to get the line of code to accomplish this question, I also need a direct link to the code in the Unity3D Documentation. I don’t want to learn to fish, I need to find the fishing pole.

  1. How do I move a GameObject in the X Y translate, and nothing more?

Stupid question, but everything I find is for 3D, and there is so many different ways to handle this, and every controller and tutorial deals in 3D, I just can’t find information for 2D. I usually just study documentation of the engine or programming language, but it’s overwhelming at first.

I just want to find the Documentation where it says "Use

 to move a GameObject in [xyz] translate."

2) Or perhaps a tutorial on how to set up the Controller, with emphasis of letting the player edit the keys (default being WASD).


Thank you,
-Ronny

For your first question:

Would take care of that for you. You are in total control over which axis you want move your object along.

Thank you!

I looked right on that page over 5 times and couldn’t find that. I really appreciate it.

I see these days people can’t use even google.

I have used google, and there is nothing there.

Show me how google can help me learn how to script X Y movement of a cube/plane.

Oh wait… you can’t… because “use even google” isn’t actually something that would help or work.
Sorry, troll fail.

http://download.unity3d.com/support/Tutorials/2%20-%20Scripting%20Tutorial.pdf this tutorial is a really good introduction to basic scripting in Unity, moving stuff around, instantiating and whatnot.

That made me laugh.

http://lmgtfy.com/?q=unity+translate+gameobject

The first few links explain how to move a GameObject. There is even a link to Transform in the Unity Scripting Reference!

rolls eyes

Google only works when you type in the right words. When you already know the answer to the question, it’s easy to find the right words to give google.

Sorry, but it’s not so simple that even a caveman can do it. Google is your friend, but also a potential waste of time.

Try typing in “2d controller unity3d” or “2d sidescroller movement unity3d” or “2d movement unity3d” and see how many useful links you get. Yea, that’s what I thought.
Like I said, when you already know the answer you’re looking for, google will give you that answer. It’s not so simple when you don’t know the answer beforehand.

Try google for a problem you don’t have the answer for, getting hundreds of hits for people ASKING the same question, without ANY actual answers.

Also, you know how long it takes sometimes to research something on google, sifting through website after website to find your answer? It can take scores of minutes, or even hours. You know how long it takes to ask someone here? 10 seconds, with a reply in minutes.

Once again, you assume you are somehow entitled to have other people waste their valuable time and lives to follow “your rules” when there is a MUCH more simple solution.

Legend411 is the only person who actually gave any real help. Thanks for that Legend, btw. However, I already gave up and decided to watch 3Dbuzz’s needlessly lengthy and gossip-filled videos where it takes them 2 hours to explain a single line of code.

The lmgtf link didn’t help at all, unless the question was “Is Dman a troll?”

I am glad to see I have developed a fanbase. 2dfxman1 and Dman seem to stalk every post I make just to troll me, so I will do myself the favor and block both :slight_smile:

Anyone else who wants to troll is welcome to join them.

You sir, are delusional. I have not trolled you whatsoever. That was my 3rd post in your threads (1 was to correct you). I made sure to type in keywords that you yourself wrote into your post: "Use

 to move a GameObject in [xyz] translate."

The three words I put into Google were:
1. Unity (obviously you need to put in the engine you are using)
2. GameObject (you yourself asked how to move a GameObject)
3. Translate (you asked how to translate your GameObject)

If that wasn't good enough, I just searched "Unity how to move GameObject" and found similar answers.

I personally do not have a problem with you asking such questions on the forum, I just wanted to prove that you could find such information via Google.

I found plenty of information in the ltgtfy link. I always make sure to check it all out so I don't get proved wrong in the future. I little work on my part, but I like to ensure that I give correct information.



On another note, if you are using a CharacterController, you would use the Move function, or SimpleMove which takes care of gravity for you.

Translate does not abide by physics (it will go through walls and such)

I don’t know what part of “You have been ignored” you don’t understand, but yea…

Unfortunately, there is the “view post” button, so I give people one last read after ignoring :\

I think the only person who is delusional is the one who fails to realize how arrogant and derogatory the stereotypical “Use google!” or “Search is your friend!” statements are.

I obviously stated TWICE in this thread that google was of no help to me. You seem to be unable to read that, and commented anyway linking to a website which “googles for you” in a arrogant and derogatory way. “That wasn’t so hard, now was it?” As if the person is incapable of googling.

I’m sorry, but unless you admit to being arrogant and a douchebag, you will stay on my ignore list for what is obvious…

Obvious Troll is Obvious.

Especially when someone admits the question is stupid, clearly states in the TITLE of the thread it is embarrassing to ask such a stupid question (which makes it clearly obvious google and ‘search’ didn’t help) and then explains WHY it is difficult for them to even read a list of API functions…and you are a big enough douchebag and arrogant enough to suggest google?

Did you read ANYTHING in this thread? The title? The OP text? Obviously not. If you did, you either failed at basic reading comprehension, or you are such a jerk that you ignore the obvious. Once again…

I made it quite clear I actually made SEVERAL attempts at common search functions (Google, Search, Documentation) and couldn’t find it. I made it EXTREMELY clear that the question is VERY simple and embarassing to ask. Yet you still feel the need to post a google link from your high horse (and I guarantee you don’t think for a second what you did was arrogant or derogatory in any way…)

If this was any other thread with a single line “Help how do I make a guy move?!?!? dude!!!111” I’d be okay with your response. Yet this is obviously a thread from an intelligent person who is simply burnt out and for whatever reason can’t find the hay in a hay stack.

It is clear without a SHADOW of a doubt what you are doing in this thread.

Obvious Troll is Obvious.

For anyone interested in finding out the answer to the OP question, here is a great tutorial, albeit needlessly talkative and lengthy.

http://www.3dbuzz.com/vbforum/sv_showvideo.php?v=3611

It is either 06 or 07 video where they explain the code to move via translate X Y.
The entire tutorial is also a 2D tutorial, which is VERY helpful!

It’s amazing the amount of jerks like Dman 2dfx around here. If I was incompetant or lazy enough to not use google or the search function, I wouldn’t have been able to EVENTUALLY find what I needed. Yet I did, all by myself. Unfortunately, they could have explained it in 1 constructive post, yet chose not to. The result? -1 hour of my life, because they were too much of an a-hole to spare 1 minute of theirs.

I am grateful for the only constructive and helpful post. Thanks legend. If it were not for people like you, this community would be one big joke. So many people with knowledge, and so few not troll enough to share it.

You trolls are like a man with a running faucet, and a stranger walks by and asks “Can I have a drink of water? My hands are sore from digging all day.” and you say "Use your damn shovel and dig your own well, lazy *@#". Several hours later, after much digging, he got the water, as he was fully capable. Yet ironically, the trolls fail to realize that THEY are the lazy @#@#.

Harsh words being banged around, and probably from rather different viewpoints. Let me give a non related example. I grew up on San Jose. Earthquake country. I am now living in Finland with my wife. She stated the other day that Finland just had a 2.2. I burst out laughing. Really. It wasn’t meant to be a slight at my wife or Finland, or the crack in the wall of the house of the guy near the epicenter. He’s probably not happy about that. But, coming from my background, I don’t notice an earthquake unless it’s about a 5.0.

I think Dman found your comment funny (the same way I did with the earthquake) in that you were unable to find help in a place that is full of help. Emergence, your comment that the help is often hard to find is also quite valid. Been there and done that myself. He did offer links to give you the information you wanted, and I doubt he was TRYING to belittle you. Remember, it is very, very easy to misread a person’s intentions with just written text to go by. If you two were having a face to face conversation, I’d wager the outcome would have been much different - far more friendly and you’d have the answers you sought as well as someone willing to offer help whenever you needed it. I have found no one here on these forums with intentions of belittling or otherwise being mean spirited.

And… I hope you’ve found the answers you need! My knowledge falls short just after setting up variables =P And those are often done incorrectly for what I need 'em for…

Exactly. I had no intention of belittling anyone. I was only attempting to prove that Google was a helpful tool.

Alot of the documentation assumes you know atleast a little bit about 3d graphics, vectors especially. You don’t even need to know about Matrices. But I think it would help you to read up on some 3d mathematics literature. If you had that knowledge, you could have just searched the Unity Scripting reference for “Vector3” and would instantly have had you answer. :stuck_out_tongue:

If he wanted to be civil, he would have posted this link

www.google.com

Instead, he posted this one

www.lmgtfy.com

Quite obvious his intentions, as the lmgtfy is a site specifically to insult other people (or come off condescending).

I didn’t misread anything. It would be as if he linked me to a site with google setup, but when I hit “enter” after the search bar, a ghost + loud scream attempts to scare me, or a google setup where the site plays a sound “You are an idiot, ha ha ha ha ha ha haaaaaaa!” once I hit “enter”. It’s all the same, as the lmgtfy is derogatory (not to mention slow) when a google.com direct link would have sufficed.

I can handle my way around 3D graphics quite well, but learning I never knew them as a “Vector” although that was very simple to figure out. (As in… I knew, but I didn’t know for sure, and I don’t make assumptions when it comes to something as sensitive as code, where a single letter or capitalization error can ruin code.) It did not help though, as one does not know if Vector3 is a command to execute a single vector or if it MUST command all 3, especially when there are others such as Vector2 and Vector4.

I also don’t want to know just how to move a gameobject, but the best way to move it how I need to. I did not need to know about XYZ, I needed to know about translate.x.
I think what people are missing here is that lately my brain has been fried to the point where it’s quite a difficult task to focus long enough to skim through tons of information (as I have been doing that every day, non-stop, for the last 6 months, and I’m quite mentally exhausted.)

I have come quite far being able to be both artist and (soon enough) programmer, when I knew absolutely NOTHING about art before, and knew very little of programming. It’s been almost a year since I’ve programmed in Java, and almost a decade since I stopped making programs in Visual Basic.

I did go to the Vector3 scripting reference, but it did NOT help. Also, it was even more difficult finding an explanation for the Controller (what keys did what, and how to allow the player to pick these keys).

3Dbuzz’s 2D tutorial explains everything quite well. When they start trailing off or joking, I just click next every 30 seconds until it’s back to code. I also skip most of their explanations for code as I literally just need to learn the code itself, NOT what it does. I already know what it does.

Honestly, I just need to GLANCE at a single line of code in an actual working program (not an “example”) and I will immediately understand and grasp it from then on. It’s just that finding that “single line” in a way that it makes sense (a real program, not an example line of code) is more difficult than a simple “google” can provide.

I am quite satisfied though, as 3Dbuzz is actually VERY organized in their yapping and trailing off. Meaning that I never miss anything by skipping all of it. It’s awesome to FINALLY be able to go through a 20 minute video in only 3 minutes (17 minutes is them talking about stuff only a newbie would need explained). Not to mention that when they DO get down to it, they explain things VERY well, and the audio is crisp clear. No mumbles, accents, etc.

Wut? To my knowledge this is the first post of yours I responded to. And I thought you said I helped?

Oh goodness, I am so sorry! I meant 2dfxman1.

For some reason, I can’t keep 2dfxman1 in my memory. Maybe because his name is jumbled letters? LoL…

I really apologize. Edited and fixed!

Now there’s proof my brain is fried :stuck_out_tongue: