Function: void band.SetGoalLength(integer bandIndex, number length)
Description: Set the goal length of a band. (Range 0.0 to 10000.0)
V1 Function Name: band_set_length

Remarks Edit

This is the "unstretched" or "true" length of the band. If the current length of the band (as set by band.Add or read by band.GetLength) is less than the goal length, the band will push the endpoints apart. If the current length is more than the goal length, it will pull the endpoints closer.

Sample Edit

This script will set length of all bands to 0.

for i=1, band.GetCount() do

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.