Crossing a collide .... WHY ?

hi .
i am making a game, cops and robbers, and you are the robber
inside the game … all police try to catch you.

but i have a small problem, ( on picture below ) when all police catch me, if i try to move
I can go through the collides, after trying.

How can I put a collide, that never, never will be passed by any player or opponent,
Even if the enemy is pushing me against the wall.

please help !

838420--31262--$question collide 2.jpg

I’m not sure I understand. In your screenshot is the blue/aqua line meant to show the collider? If so, you’re not crossing it. You are crossing geometry, but that’s separate to the collider.

ok … forget the blue/aqua … i put this just to refer the collide zone.
but in all case, when the police cars is pushing me against the wall …
Retains and contain, the police, for 4 seconds, then push me through

PD. the picture is just a reference.
thanks

please help

It sounds like the problem another developer was having in the forums. I believe he said small enough objects can pass through where triangles join for a non-convex mesh collider. Maybe try making it out of a few convex colliders instead of one big complex mesh collider?

why not just set a var, if true, then you are automatically stop when collided… do a degree, like if you are colliding with 5 cop cars and a rock.

You may need to adjust your game’s physics setttings (Edit > Project Settings > Physics). The physics are made by default to work as if 1 unit = 1 meter, so if the scale of your levels/objects is much larger or smaller than that, you’ll have to adjust things so the physics behave as you would expect. If your level and cars are very small, for example, you’ll probably want to make the Min Penetration For Penalty number lower or objects will be able to pass through each other further than they should.

Turning up the Solver Iteration count might help as well. And failing physics settings, you aren’t doing anything like turning the colliders into triggers or anything like that? Or perhaps the rocks’ collider is a rigidbody, and the car is actually pushing it around?

Nop
Just are collides with no render mesh ( invisible when play )

I would like to learn how toake a collide when player tag touch then stop motion

Some idea ?

Thanks a lot

i made a collide ( new collide ) with script , then when collide, the car ( you ) return to home position on map, ( start position ) …