Child object clipping through other objects

So, I have a flashlight model attached to my main camera and it has a capsule collider, but it will clip through other objects. help?

EDIT: The object actually collides, but it doesn’t stop the movement of the camera. The camera is moving with FPSWalker, by the way.

only using like rigidbody.addforce and stuff collides as it were

transform.position = …

thats not moving
that’s teleporting

collsions dont stop you because rigidbodies moving collide, transforms teleporting go where they please.