How to avoid adding force by character controller

Hi,
Correct:

  1. I’m using character controller to move my character.
  2. I’m having a wall with rigidbody and collider with mass ~1300.
  3. When I’m trying to move wall everything works as i expected too - I can’t move the wall because character controller doesn’t have any mass.

NOT Correct:
When I’m adding a force to the wall for example by explosion force from granate object and wall velocity is bigger than 0 ( for example wall started to falling dawn ), than my character controller is able to add force to this wall, huuge portion of force…, I can for example jump under leaning wall and push it into a space…

CharacterController.detectCollision is nothing that can help in my case. I would like to handle 2 scenarios:

  1. When wall velocity is bigger than X and it hits a player than player is dead (this scenario is easy and handled by now).
  2. If wall velocity is less than X then wall just stops on the player collider, just like during collision with terrain.

I need to stops character controller from adding force to anything. Is there any build in option for that?

Thanks

Short Answer: No.

Long Answer: There are lots of threads on this very topic of calculating Force from collision.
Here is some useful reading you should peruse.