See Also: ConstraintPulley2D
The pulley connects two bodies to ground ConstraintPulley2D.OwnerBodyGroundAnchor and ConstraintPulley2D.OtherBodyGroundAnchor and to each other ConstraintPulley2D.OwnerBodyAnchor and ConstraintPulley2D.OtherBodyAnchor.
As one body goes up, the other goes down. You can supply a ratio ConstraintPulley2D.Ratio that simulates a block and tackle. This causes one side of the pulley to extend faster than the other. At the same time the constraint force is smaller on one side than the other.
You can use this to create mechanical leverage.
Assembly: Urho (in Urho.dll)
Assembly Versions: 188.8.131.52
The members of Urho.Urho2D.ConstraintPulley2D are listed below.
See Also: Constraint2D
|Constructs a new instance of Urho.Urho2D.ConstraintPulley2D which is tied to the Application.CurrentContext.|
|Constructs a new instance of Urho.Urho2D.ConstraintPulley2D, given a raw pointer to an unmanaged object|
|Constructs a new instance of Urho.Urho2D.ConstraintPulley2D linked to a specific Context.|
|OtherBodyAnchor||Vector2. Return other body anchor. Or Set other body anchor point.|
|OtherBodyGroundAnchor||Vector2. return other body ground anchor. Or Set other body ground anchor point.|
|OwnerBodyAnchor||Vector2. Return owner body anchor. Or Set owner body anchor point.|
|OwnerBodyGroundAnchor||Vector2. Return owner body ground anchor. Or Set other body ground anchor point.|
|Ratio||Single. Return ratio. Or Set ratio.|
|Type||StringHash. Urho's type system type.|
|TypeName||String. Urho's low-level type name.|
|TypeNameStatic||String. Urho's low-level type name, accessible as a static method.|
|TypeStatic||StringHash. Urho's low-level type, accessible as a static method.|