↧
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 ArticleBeginner 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