Teleporter

From Unify Community Wiki
Revision as of 20:31, 4 October 2011 by Unity3D MAN (Talk | contribs)

Jump to: navigation, search

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

<javascript> var teleportTo : Transform; function OnCollisionEnter (col : Collision) {

   col.transform.position = teleportTo.position;	

} </javascript>

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox