Character rig collision

Hi,how to make a human character that is rigged to collide on a wall and not to penetrate the wall

anyone? im stuck

Parent the armature to a collider

1 Like

How to do that? Because I tried few experiments but it didn’t works

Set the armature and all its meshes to no collision. Have a cube with collision. Select the armature then the cube and parent it.

here is an example:

1 Like

Thanksđź‘ŤI will check later and return back with results

unfortunately it didnt worked,when i parent the box on character rig with dynamic physics+collision checked the character is flowing,i apply all transforms just in case but nothing changed,as for to colide on walls it doesnt work,i dont know,do you guys want me to upload my blend file to check?
here is the link:

I opened it in 0.42, is it 0.43?

Anyway, fly away is always a sign that there is self collision.
You have a second armature (head) where you also have to set the meshes to “no collsion”.
For the colliision cube you can’t use collision shape “box” because the origin isn’t in the center. Use smthg like convex hull.
(but it would be better to create a collision shape with a rounded bottom end, to easier skip over smallest gaps)

  • Try to place the origin near the feet if you want to use Navigation mesh someday
  • motion logic bricks now have to be disabled for the armature and enabled for the cube.
    If possible use a kind of forces (or velocity) instead of position motion because it will work better with physics
  • Turn on physics visualization!!!
    You will see some strange double of the player that is only visible now and acts as a obstacle.
    These come from the disabled collections somehow (they shouldn’t appear IMHO). Go through all of thesee meshes and disable collision.

— phew, this is much to do.

1 Like

Thank you for the answer man,I will try and can you also reupload that file ?
Yes I’m using the blender 4.3

Puh, glad that I did save it :slight_smile:
But it really is just a quick fix.

1 Like

very big thank you,i realy appreciate your help

It’s funny how I can’t replicate what you did,I also deleted all the unnecessary collections but still the rig is flying,I followed your suggestions but nothing,crazy :anguished:

Yes, was also fiddly for me. Turn on physics visualization to see where collisions appear.

1 Like

ok i did it!!!
oh man,everything was ok except the eyes and teeths,both of them had static collisions :smiley: damn such a small detail,everything is good now, i want to say big thank you for your tips and time :+1:

1 Like