Hi,
is there a way I can tell the name of an object that collides with my trigger object? Like “‘Ball x’ touched the trigger!” - couldn’t find any documentation on it, but then again, I might have just been looking in all the wrong places ![]()
Something like -
function OnTriggerEnter (other : Collider) {
Debug.Log ("Name of Object here" has hit the trigger);
}
fafase - I think I love you a little. Thanks, again <3
– LittleCat1You should also mark the question as answered. You can also give a thumb up to show that the answer is right. That helps for future consultations, people know right away that the answer is right.
– fafaseShow your love through the big ol' tick!
– KleptomaniacYou don't have permission to do this action. Please Login as another user - on the thumbs up :(
– LittleCat1yep I have had the same problem before... dunno why but you cannot thumb up a post on your own thread...
– fafase