Download

Moving arms and weapon back instead of penetrating the wall

I’m working on an FPS game and the problem I have is that when I get very close to the wall, at some point the weapon, and later the arms, start penetrating the wall rather than moving back so that no such weird occurrences happen. Is there some easy way to fix it so that it becomes more realistic?

You could make the collision capsule wide enough to fully contain the arms. Otherwise you’ll have to use IK to dynamically adjust the position of the bones and/or objects.

Thank you. And how would I go about resizing the capsule? Whenever I try to resize it, the mesh inside is also resized and I can’t unparent it.

EDIT: OK, changing the radius did the job :slight_smile: