Question by
wiggs1111 · Sep 11, 2015 at 04:37 PM ·
javascriptcollision
Check renderer color of object at Vector 3 location
I have a character who moves around and I don't know what that character to be able to collide with an object if the renderer is set to a certain color. IF I ABSOLUTELY MUST I CAN DO THIS THORUGH A OnCollisionEnter function but really prefer not to.
Any suggestions? I am writing this script in javascript.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612033250im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
OnCollisionEnter2D not getting called 2 Answers
New Hierarchy Son Script 0 Answers
Raycast so i can pick up an object and add it to my inventory in javascript? 0 Answers
Collision Problems 1 Answer