Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJordan Dobson
6,874 PointsI can't get the basketball to detect my controller touching the basketball. I have verified that the Awake() is called.
I've logged that Awake gets called and that it's setup... however the onTriggerStay() never gets called... I did a Debug.Log() and nothing shows... I tried onTriggerEnter() as well and that's not called either.
What could be the issue here? What things should I verify are setup correctly. I've reviewed the video a few times and haven't had much luck.
2 Answers
haodong ruan
1,680 PointsDo you enable the "is Trigger" option in "sphere collider" from the left controller and right controller .
Jordan Dobson
6,874 PointsI'll have to check again... but I believe I did. Thanks for the follow up.
Unfortunately now I need to attempt to do this with the Oculus so we'll see if anything changes. :)