- Home /
Mesh Collider Bounciness working only in a few areas
Hello,
I'll just right to the point:
Im making the mesh collider bouncy using a script which has worked perfectly fine on the past, it still does, but not with big 3D platforms. I used the same script on 30 levels and it worked really fine, the platforms were smaller than the current ones. Now when I make the objects bouncy using the script it only works on some areas...which is really strange, it's the same mesh, and when I disable the mesh renderer the mesh collider looks fine. If you jump on the platform with the bounciness enabled from a platform which has no bounciness than you keep bouncing, but if you disable the bounciness than you still keep jumping.
I think this all happens because of the big size that the platform has and the amount of detail put into it.
The scene has 300k tris.
Thank you for your time, and I really hope someone can help me with this!
Answer by gkepets · Feb 22, 2015 at 03:06 PM
I dont know exactly why this is happening, but why aren't you using the material option- bouncy on the mesh collider? I use the bouncy physical material often and it almost always works (except for a fast moving object against a thin collider)
I am using that option, Im using my script to edit it whenever I want.
Oh so with only certain colliders/ objects it will bounce? If the colliders tag is "blank" then turn on the bouncy attribute?