band.Length() different from structure.GetDistance()

Case number:671071-991361
Topic:Game: Other
Opened by:Tony Origami
Status:Closed
Type:Bug
Opened on:Wednesday, December 21, 2011 - 17:51
Last modified:Thursday, January 5, 2012 - 06:16

The band length function differs considerably from the segment distances whereas it should be identical. The following code demonstrates:

for x = 1, 10 do
band.AddBetweenSegments(x,x+10)
end

for x = 1, band.GetCount() do
band.SetGoalLength(x,band.GetLength(x))
print("band ",x,band.GetLength(x)," ",band.GetGoalLength(x)," ",structure.GetDistance(x,x+10))
end

(Wed, 12/21/2011 - 17:51  |  2 comments)


Joined: 12/27/2010
Groups: None

as opposed to:

for x = 1, 10 do
band.AddBetweenSegments(x,x+10)
end

for x = 1, band.GetCount() do
band.SetGoalLength(x,structure.GetDistance(x,x+10))
print("band ",x,band.GetLength(x)," ",band.GetGoalLength(x)," ",structure.GetDistance(x,x+10))
end

Tlaloc's picture
User offline. Last seen 45 weeks 1 day ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'
Topic: General » Game: Other
Status: Open » Closed

Fixed. Should be available on the next release.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons