[][src]Module box2d_rs::joints::b2_rope_joint

Structs

B2ropeJoint

A rope joint enforces a maximum distance between two points on two bodies. It has no other effect. Warning: if you attempt to change the maximum length during the simulation you will get some non-physical behavior. A model that would allow you to dynamically modify the length would have some sponginess, so i chose not to implement it that way. See B2distanceJoint if you want to dynamically control length.

B2ropeJointDef

Rope joint definition. This requires two body anchor points and a maximum lengths. Note: by default the connected objects will not collide. see collide_connected in B2jointDef.