I can't find cossine.
It's working well for Sine but not Cossine: print ("Sin "+Mathf.Sin(89 * Mathf.PI / 180)); print ("Cossine"+Mathf.Cos(89 * Mathf.PI / 180)); print ("Sin "+Mathf.Sin(90 * Mathf.PI / 180)); print...
View ArticleMonodevelop - contract and expand functions -
I used to see in the previous versions, if I remember, that there was the option to contract and expand functions in the IDE (Show up code inside and hide to facilitate the visualization) , I am not...
View ArticleWhat is color and what is material (in the context of gameobject)?
Hi, I am a bit confused, I found by script how to add an material to an GameObject, material is texture right? If I change GameObject or Texture, I don't know how it works, I create an colored...
View ArticleHow to get exactly position of mouse in a gameObject when it's over it?
I want the exactly position of the mousein World Space when it's over a GameObject, not the position of the GameObject center, but the Vector3 of the point that the mouse touches the GameObject in the...
View ArticleEvent when mouse pass through invisible area
I want to make an event when mouse pass some invisible square area for example through points (x1,z1),(x2,z2),(x3,z3),(x4,z4) in a specific Y height, what's the best solution? Thanks.
View ArticleResources load to materials, how to?
Hello, I think is a simple question, but I don't know nothing about it: I have an created material in my materials folder, I just want to apply it to the GameObject by script. I am trying...
View Article