- Home /
How can I make a object non enterable?
I have a bunch of objects, but they are all.. enterable i guess is the word. How can I make something like the box collider but that goes around the form of the objects? I have tryed mesh collider but it does nothing?
If I answered your question, please accept my answer. If you don't know how, watch the tutorial video on the right
Answer by Benproductions1 · Aug 19, 2013 at 05:05 AM
Hello,
You are looking for a mesh collider. Perhaps you don't "collide" with it because you are not using any "physical" (built-in) way of moving your object.
There are plenty of other questions exactly the same to this one. Find them on google and you will be able to answer your question :)
Hope this helps,
Benproductions1
Answer by Rick74 · Aug 25, 2013 at 02:08 AM
I'm pretty sure if you attach a collision object and a rigidbody to that object, Make sure the check box "is trigger" is NOT selected. That should do it. But anything you don't want to enter that object will also need at least a collision object.
I could be wrong of course...that almost sounds too easy lol.
You could create a series of shapes and attach it to your object as box colliders. I was under the impression that exact mesh colliders were pretty expensive performance wise for physics?
mesh colliders aren't that expensive. It would be worse to put a whole bunch of box colliders ins$$anonymous$$d. That would mean more objects, more collision checks, and with rigidbodies, more calculations due to compound collisions
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to pickup and equip an object? 0 Answers
Is it better to use Mesh Colliders on Mass Projects or Box Colliders? 2 Answers
How make spawn for horror game? 1 Answer