function GetPoint (distance : float) : Vector3
Description
Returns a point at distance units along the ray.
var r : Ray;
print( r.GetPoint (10) );
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
public Ray r;
void Awake() {
print(r.GetPoint(10));
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
public r as Ray
def
Awake():
print(r.GetPoint(10))