Javascript Help
Hey guys! What i'm about to ask may sound very stupid.
I am starting to make a game in unity with Javascript and i was wondering how i could find out or if i could get a link to unity's commands to control components such as size and a players speed.
Also i was wondering if there are component boolean type commands such as if an object touches another object (collisions). i know there are ways of doing it with like 10 lines but i don't want to just copy and paste someone elses code, i want to understand it so i can reconstruct it with my own knowledge.
Thanks in advance.
i figured out that you can use transform.localscale to scale an object but i dont know how to use it or if it is the right command to use.
Look at the scripting API on Unity's website, in particular, the Transform page. The transform defines the physical position, size, rotation, etc of an object. As for speed, that depends on what you are doing. If you want to learn program$$anonymous$$g in Unity, the API and $$anonymous$$anual are good places to start.