- Home /
collision problem - only one sided (plane-like object)
Hi,
as the title says, i have a character which only collides from one side with a tent. this is not intended. I suspected the mesh collider, but even subdividing the tent further didnt solve it. I made a video which demonstrates the problem:
see it at Youtube
the character has a rigidbody and a capsule collider with discrete coll.-detection and interpolation attached to it.
But changing all these options didnt change a thing.
What can i do?
thanks for every idea.
Answer by DaveA · Aug 15, 2012 at 08:51 PM
Does the interior walls of your tent have polygons facing into the tent? or are you using a two-sided shader to render that? Your mesh needs to have faces on both sides.
yes, it's a double sided shader. Thanks for the answer. Sadly, then, i have to trash my shader and remodel the tent..
Actually, not necessarily. You could just model a different collider for your existing mesh.
Yeah if it doesn't need to be accurate, you could just put box collider(s) in there.
does that not work like mesh collider using plane mesh?
Answer by Screenhog · Aug 15, 2012 at 08:52 PM
To collide from both sides, you need to have a face for each side. Right now, it looks like you're using a double-sided material on your tent. Your tent needs to have some thickness for collision to work.
Your answer
Follow this Question
Related Questions
Character Collision Issue 1 Answer
My character jumps occationally when against a wall? 2 Answers
How to Animate a Character 3 Answers