- Home /
The question is answered, right answer was accepted
Why is the boundary not working?
I have been following the space shooter tutorial. I have followed the video's instructions exactly, yet the boundary that destroys the bolt objects fired by the player is not working on my computer. I know it isn't the script, because the "done" script that came with the assets didn't fix the issue. Both the bolt and the boundary box are checked as triggers, and the bolt has a rigidbody component. Any thoughts?
I had the same problem and I fixed it properly na$$anonymous$$g the OnTriggerExit method - I had mistakenly called it onTriggerExit - apparently Unity doesn't recognize it unless it starts with a capital letter.
Answer by EngineBuilder · Jul 03, 2014 at 12:46 AM
Solved - the boundary box was not high enough, so the bolts didn't start off inside the box. Scaling up the box in the y direction corrected the error.
Follow this Question
Related Questions
can the space shooter tutorial be done without using webGL build? 0 Answers
Creating a spread shot using prefabs 0 Answers
enemy spawn without coroutine? 1 Answer
My space ship is sliding to one side and getting stuck there, what would cause this? 1 Answer
The referenced script on this behavior is missing! 2 Answers