Currently there isn't some special way we're dealing with collisions. All hand bones have rigid bodies attached and they are all connected by physics joints (child bones to their parent bones). Joints have appropriate angular limits set to approximate motion limits of the real human fingers. Bones are then moved to target poses read from hand tracking API (Oculus in this case) by using their joints' linear and angular drives. Couple that with relatively high number of solver iterations used in Physics settings and low fixed timestep value in Time settings and all collisions are handled nicely by Unity's physics engine (PhysX 4), no explosions or too much jittering.
I'm not gonna lie, I didn't know unity had that much control in the settings so learned something new today. I used a similar method to simulate a radiograph arm (the xray arm dentists use) and I had issues with explosions AND jittering, so I might revisit this knowing that! Do you have a twitter I can follow? I like keeping up with stuff like this
2
u/pugmaster999 May 25 '22
I feel like this would be a cool idea Slippery Object Sim or something like that idk
2
u/statypan May 25 '22
Painful to watch. Must be painful to code. 😂 Just kidding, kudos to you, I did not have courage yet for hand physics
2
u/SpectralFailure May 25 '22
is this done with oculus hand emulation
2
u/TitleComprehensive96 May 26 '22
Gotta implement friction and such
2
u/2020___2020 May 25 '22
handing is hard