17.Unity Moving objects with transform.Translate - Unity C# Scripting Tutorial

preview_player
Показать описание
|------------- ( Click On Show More ) ---------------- |

| -------------------------------------------------------------------- |

List of Best C# Scripting Books:

| -------------------------------------------------------------------- |

Best Unity C# Scripting Courses:

| -------------------------------------------------------------------- |

| -------------------------------------------------------------------- |

You Can Donate Here:

| -------------------------------------------------------------------- |

List Of Gears I Use:

| -------------------------------------------------------------------- |

List Of My Youtube Tutorials:

| -------------------------------------------------------------------- |

Video Description:
Welcome to Unity3D C# scripting tutorial series. In this series you will learn how program in C# in unity to create awesome games. Writing scripts is one of the most important process of creating games in unity3d game engine. If you learn C# from ground up , you can create amazing games in unity. C# coding gives you a lot of control over unity, which you can use to do whatever you want in your game. If you are starting with unity game development scripting, you should start learning C# instead of javascript. C# allows you to write scripts for unity in a more organised way, which would help you to understand your game code later. If you want to be a game programmer then Unity and C# is a great way to start learning about various game development principles. Unity is a full fledged game engine, you can do anything you want, and when you have the power of C# in it, you can achieve anything easily. You can write more robust, readable, faster executable code for unity game development. You may have seen that Unity official tutorials also use C#, since it's better to write code in C# than javascript. javascript is a more free form language, it gives you more freedom which is not that good in long run. If you want to write better code for unity game development, then you should write your code in unity with C#. C# is a great language developed by microsoft for it's .net platform, and unity uses it as a scripting language.

Thanks a lot for watching this video, if you have any questions, write those in comments. I hope you enjoyed. Please subscribe and like , comment , share.
Рекомендации по теме
Комментарии
Автор

Hello, yours videos is very very good. I am from Russia and in Russian youtube people don't explain so good as you. This video was posted 8 years ago, but it very helps and thank you for yours explanations!

KedaGD
Автор

Thanks. This helped me understand the nature of the way transform.Translate works in a way that the official API documentation never bothered to explain (and which I couldn't find anywhere else). I thought that transform.Translate meant "move the transform TO x, y, z coordinates", but I realize now that it ACTUALLY means "move the transform BY x, y, z values", which is a VERY important distinction. I've been pulling my hair out for hours trying to figure out why my gameObjects were traveling in the opposite directions as that which they were supposed to be going, no matter what I did. It was because I was adding the current transform.position values into the equation, which I shouldn't have been doing, because it's not "move to", it's "move by". The API documentation is so bare bones. You'd think that people who write official documentation would prioritize actually EXPLAINING stuff. Thanks again. Good on ya.

RhamosVhailejh
Автор

You know, I'm 14 and trying to learn to program, and I can't believe how well explained your tutorials are. Thank you so much for making these incredibly accesible tutorials, you really ARE helping a lot of people!

catgirlrancher
Автор

you explained one concept to me more clearly in 4 four minutes that it took my teacher to explain to us poorly in a week, if only you were my teacher from the start.

micah
Автор

Thank you so much, Even after 3 years your video is useful. I was using AddForce before I saw transform.Translate script in this video. AddForce is actually weird for the project I am working on because It accelerates slowly and increases the speed over time. Transform is always constant as the speed you choose. Once again Thank you so much for the tutorial I hope you the best day and forward.

CallMeNick
Автор

Thank you very much. Every other tutorial makes it look so complicated and not understandable. But thanks to you, I finally understand what does it mean. Once again, thank you

bitsaw
Автор

Awesome videos! Best around even after 5 years! Still relevant in 2020 thank you!

FallennSavage
Автор

Also i want to edit that your speed in talking and typing is very good to explain something. Most of the tutorialguys make it too fast.

sauerkrautyo
Автор

thanks for your tutorial it is very good
i have a question i want to stop the object after a particular distance any help?

mahmoudessam
Автор

For those who are using AddForce, please, but please use FixedUpdate. Thanks for the tutorial, I've been looking for this kind of thing the whole day :)

tipudepemetin
Автор

your tutorials are better than udemy
great job bhai, ek no.

anshumansingh
Автор

For the most basic version of Time.deltaTime, it just means a consistent pace regardless of fps or updates in a second

Og_BMS
Автор

Hello there. You have helped me a lot! I'am really fortunate, that I've found you channel. You've just gained new subscriber! Greetings from Poland! All best my Friend!

nietypowyinformatyk
Автор

hey! your tutorials are very very good! its easy to understand even for a 12 years old like me :)
good tutorials!

mightyelf
Автор

I think charger games tutorial is best way to learn C# language and also making game!
KEEP IT

yasvidobariya
Автор

Thanks so much man, this helped me alot

liltux
Автор

you are a very nice teacher sir keep up the good work

paranoidgamers
Автор

First i thought you will waste my time because all the hello bla bla.

But your Video was awsome!! Good job, smart and compact! :)

sauerkrautyo
Автор

Question!
I'm making a box stacker kind of game, similar to tetris. Using this movement function, I noticed that objects that stack onto the player don't move with the player. How can I fix this? I've heard that using velocity instead on transform/add force should help, but I'm struggling to find tutorials on how to do that.

TheARTY
Автор

I'm controlling the Y scale of my cube by a script but what should i do if i wanna make it fall on either side of x axis after increase the height of the cube to some certain number

ronniebakuman
join shbcf.ru