- Home /
Collision not happening
Hi, I am new to unity.I am following Will Goldstone's book Unity 3.x Game Development Essentials book.In a scene I have made few powercells.When I am trying to navigate using First Person Controller ,I "pass through" these power cells.Both of them have got rigid body attached to them.What could be the issue
Hey bud, no worries.... was that the issue? or was it something else take care, happy coding :) Gruffy
Hi Gruffy.Sorry for getting back to you late.I had checked "Istrigger" so it was allowing the third person controller to pass through.I unchecked it and it worked like a charm. Thanks for your inputs.I am not able to see how to mark your answer as correct.Could you please help me with that;) Thanks
Just converted comment to answer for you bud. You can tick that if you like.
Glad you got it sorted...Those early issues happen to us all, bar none bud! Getting beyond it and not giving up is the key and you didn`t, so hey, you just leveled Up! .oO
Answer by Gruffy · Jan 26, 2014 at 03:58 PM
You must attach a collider object and then ensure the "IsTrigger" checkbox is indeed checked.
This will convert your collider from a barrier that is like a force field around the object disallowing things through it, to one that does allow things to pass through.
You may have to attach a further collider that is not a trigger to the same gameobject to ensure it has collision with the ground(terrain). however, you could also simply check the rigidbody to be "IsKinematic", removing gravity from it by doing so and allowing the objects to be effectively static where ever they are being placed in your scene.
hope that helps you soemwhat buddy, same thing happened to me when I got that book. Its an Amazing Book for beginning your game dev journey IMHO.
gruffy
Your answer
![](https://koobas.hobune.stream/wayback/20220613131504im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
A node in a childnode? 1 Answer
How can I change my game type to a .unity3d file? 1 Answer
How to make an ingame weapon/ammo shop 0 Answers
Upgrading Unity 3.2 Problems 2 Answers
If Statement Conditional Not Working 1 Answer