Quantcast
Channel: Unity3D Student » space
Browsing latest articles
Browse All 2 View Live

Beginner B18 – Local vs World Direction

How to distinguish between Local and World directions in scripting. Code Used (Javascript) function Update () {  //transform.Translate(Vector3(0,0,1) * Time.deltaTime);  var fwd = transform.forward *...

View Article



Beginner B21 – Finding Distance with Vector3

Finding the distance between two points in 3D space using Vector3.Distance command Code Used (Javascript) var box : Transform;   function Update () {    var dist : float =...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images