Character Controller not ground object

Hello all ,

I am having a problem where I am using a character controller and there is a barrel .
The character controller is assuming that the barrel is ground when the barrel needs to be pushed by the player and not considered as ground.

How can I fix that? Please help.

Regards

To push objects with CharacterController, you need to handle collisions in CharacterController.OnControllerColliderHit(). The example on the scripting reference is a good starting point, and I think you need to add the handler function to your CharacterController by calling characterController.OnControllerColliderHit += HandlerFunction.