Teleporter

From Unify Community Wiki
Revision as of 12:10, 1 April 2011 by RyanD.unity (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

var teleportTo : Transform;

function OnCollisionEnter (col : Collider) {

col.transform.position = teleportTo.position;

}

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox