Spec-Zone.ru › LÖVE

PulleyJoint:setConstant

Set the total length of the rope.

Setting a new length for the rope updates the maximum length values of the joint.

Function

Synopsis

PulleyJoint:setConstant( length )

Arguments

number length
The new length of the rope in the joint.

Returns

Nothing.

See Also

  • PulleyJoint
  • PulleyJoint:getMaxLengths


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/PulleyJoint:setConstant

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API