This is different from the teleporter trigger in PQ: The teleportation instantly happens when the function (shapename)::onCollision(%this, %obj) is executed. The destination point is just another named object just like the regular teleporter triggers. It may be useful for reducing the object count, or creating teleportation triggers that aren't shaped like cuboids (such as a spherical portal/wormhole). Do I just bring in the code for the trigger and paste it into the shape datablock's collision function?
How do I make the marble teleport to a certain area upon hitting an object
Moderators: Doomblah
Time to create page: 0.361 seconds