Best way to do cam/roller collision?

Post Reply
random
Posts: 5
Joined: Fri Jan 25, 2019 12:28 pm

Best way to do cam/roller collision?

Post by random »

Hello,

What would be the most appropriate way to implement cam / cam follower collision? Cam is a (possibly concave) prism and follower is a cylinder. I do not expect top/bottom collisions, only side to side. See pic here: viewtopic.php?f=9&t=12591
There is going to be quite a few cams like that in the final system. The cams are all generated programmaticaly.
I guess I can either:
* Generate my cam as a union of a lot of skinny triangular prisms
* Use built in convex decomposition
* Use GImpact or some other existing concave mesh collision method
* Write my own prism/cylinder collision algorithm
Any suggestions?

Thanks,R
Post Reply