Advertisement
MrsMcLead

MoveAlongTheZAxis

Apr 2nd, 2013
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma strict
  2.  
  3. var z : float = 1000.0;
  4.  
  5. function Start () {
  6.  
  7. rigidbody.AddForce(Vector3(0,0,z));
  8.  
  9. }
  10.  
  11. function Update () {
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement