physics Material 2D not working !!!!

I have a cube GameObject to i have applied a physic material.
the Cube game object has
RigidBody2D
BoxCollider2D and trigger

the ground has BoxCOllider2D

Why is it i am not getting any bouncy effect

  1. Is it because i am using not physics based CharacterController2D by prime31 ??
  2. or is it because by using trigger for my Cube gameObject

Please help

I did some test and this is the result:

  • Case 1: Sprite2d object (box collider 2d - no trigger - bouncy material, rigidbody 2d) and ground (box collider 2d - no trigger - bouncy material). It worked.
  • Case 2: Object 3d (box collider 2d - no trigger - bouncy material, rigidbody 2d) and ground (box collider 2d - no trigger - bouncy material). It worked.
  • Case 3: Sprite2d object (box collider 2d - no trigger - bouncy material, rigidbody 2d) and ground (box collider 2d - no trigger - no material). It worked.
  • Case 4: Object 3d (box collider 2d - no trigger - bouncy material, rigidbody 2d) and ground (box collider 2d - no trigger - no material). It worked.
  • Case 5: Sprite2d (box collider 2d - trigger - bouncy material, rigidbody 2d) and ground (box collider 2d - no trigger - bouncy material). It did not work.
  • Case 6: Object 3d (box collider 2d - trigger - bouncy material, rigidbody 2d) and ground (box collider 2d - no trigger - bouncy material). It did not work.

So, it’s not depend on object 2d or 3d, it’s not depend on ground must have physics material or not if object already had physics material, the ground do not need a rigidbody.

BUT the object’s collider must be not trigger.

So in your case, I think the cause is using trigger for the cube. May be CharacterController2D is also the cause, but I am not understand the way it control character, so I can not say certainly it is the cause or not.