Skip to content

UIDistanceJoint

YinLijun edited this page Mar 3, 2015 · 1 revision

UIDistanceJoint which says that the distance between two points on two bodies must be constant. When you specify a distance joint the two bodies should already be in place. Then you specify the two anchor points in world coordinates. The first anchor point is connected to body 1, and the second anchor point is connected to body 2. These points imply the length of the distance constraint

It is a subclass of UIElement.

Screenshots


1

Clone this wiki locally