I have this .gif, and it shows cylinders rotating on each other. It's done automatically with physics (UE4). It looks good and I am happy with it, but this only happens right 30% of the time.
The problem is UE4 physics are bad at this, and the top cylinder goes haywire 70% of the time. Would anyone know the name of an algorithm or something to achieve these types of collisions just based on the hit locations and angles of the cylinders colliding Thanks for any help.
EDIT: Sorry for not having concise info that wouldn't make sense without a .gif, but I couldn't explain it in a way that didn't take 50000000 words.

