Collider problem

Hi guys

I have made an slider shaped object which on a flick slides over a board.The problem is as the slider has a box collider when ever the slider stops if the box collider is touching the target it returns a successful attempt.I want it to return as an unsuccessful attempt.

Please refer to the image.

thankyou

263764--9504--$collider_issue1_145.png

So… wouldn’t that be a good place to use a cylindrical collider instead?

IS cylindrical collider available ?

I think he meant a sphere collider, that might give you bumpy results though, sorry I can offer no further help, Ima n00b, you could maybe look into the OnCollisionEnter command tho, I know you can gather point info on the collisions or something.

Or maybe use a meshcollider of some sort

Hey Thanks

I tried using a mesh collider by creating a cylinder object applying it the same but don’t know why it is making my game heavy :(, forgot to mentioned im creating a iPhone game.

lets see there might be some other way round.

I have never had much success using mesh colliders on moving objects, and from my experience the collision don’t register consistantly.

Have you tried a capsule collider? You can shape these into cylinder type object by changing their radius and, if added to a child, you can rotate them to fit any orientation. I’ve had good results with capsules.

Regards,
Matt.

Hmm lets see il try it out with the capsule collider.

A mesh collider won’t register a hit with another mesh collider unless one of them is marked as convex. Also, a mesh collider that is a thin skin mesh (like a plane) has trouble detecting a collision with a fast moving object. It has no volume, so it is easy for an object to pass from one side to the other without the colliders touching. If you can seal up the underside of such meshes, to make an enclosed volume, the collisions should be much less bothersome.