Quantcast
Channel: Answers by "ransomink"
Viewing all articles
Browse latest Browse all 80

Answer by ransomink

$
0
0
I'm guessing, you need to access a collider outside of the trigger event? If so, you can do this: #pragma strict var externalCollider : Collider; function OnTriggerEnter( col : Collider ) { externalCollider = col; } Now that you have a reference, you can use the collider from the event for anything you need. Hope this helped...

Viewing all articles
Browse latest Browse all 80

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>