Recently i have been working on a 2d platformer which uses the inbuilt unity physics and rigidbodies.
Learnign c with unity book floor.
To make physics work we also need to add a rigidbody to the sphere.
Colliders and triggers great we have a floor.
All the languages that unity operates with are object oriented scripting languages.
Is using c in unity a good way to learn programming sure it s a fantastic way to learn programming.
Most of the answers say no because of some vari.
The book does not cover much about c but it s also not a book strictly made for c.
Unity learn provides award winning free tutorials sample projects and full courses for mastering real time 3d development skills with unity learn to make video games vr ar and more.
Unity documentation is available downloadable format.
Add component rigidbody do not add one to the floor.
All the basics of unity are covered in this comprehensive guide to the software.
Now also notice that both objects have colliders.
Default gameobject s in unity come with them but it s important to note.
There is no need for a book at all.
Like any language scripting languages have syntax or parts of speech and the primary parts are called variables functions and classes.
This would lead to the player getting stuck inside the floor when landing a from a.
Because unity hides a lot of what is going on in the code you ll assume certain things in programming work a certain way while they do not.
The language that s used in unity is called c pronounced c sharp.
Unity game development in 24 hours.
This goes against the grain of many of the answers here and i want to explain exactly why.
This course is designed to be the first point of reference for users who have just purchased or are considering purchasing reflect.
Sams teach yourself unity game development in 24 hours explains the unity ui from start to finish including menus workflows and final production pipeline assets used in pro game studios.
One of the challenges i ran into was that when the player moved above a certain velocity it would sometimes pass through colliders.
It is fine that you are learning form youtube and the official website.