P2/Phaser Revolute Constraint Made Simple
Revolute constraint is a way for two physics objects in the P2 physics system to interact with one another. This is a revolving type of constraint that can be used to create a hinge or a joint. The two bodies end up having a pivot point between them. P2 is a realistic and complex JavaScript…