Teleporter

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
This script works like the halo Teleporters, but you can shoot rockets in to it and it come out the other teleporter
 
This script works like the halo Teleporters, but you can shoot rockets in to it and it come out the other teleporter
Have fun with it.
+
Have fun with it. BY Ryan Davis.
  
 
== Teleporter.js ==
 
== Teleporter.js ==

Revision as of 12:10, 1 April 2011

This script works like the halo Teleporters, but you can shoot rockets in to it and it come out the other teleporter Have fun with it. BY Ryan Davis.

Teleporter.js

var teleportTo : Transform;

function OnCollisionEnter (col : Collider) {

col.transform.position = teleportTo.position;

}

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox