Lua function contactmap.IsContact appears broken
|Opened on:||Thursday, July 17, 2014 - 05:52|
|Last modified:||Friday, July 18, 2014 - 13:06|
bool contactmap.IsContact(integer segmentIndex1, integer segmentIndex2)
This appears to always just return true in contact puzzles, which is of no use to anybody.
Despite the description which says:
In an exploration puzzle, returns true if two segments are in contact with each other (within a minimum distance). Returns false otherwise. If not in an exploration puzzle, always returns false.
Please fix this call, and better yet, introduce more functions for contact puzzles.
Info we desperately need to know to help us build tools for contact puzzles are
- If there is a predicted contact between two segments (green in the contact map)
[example: bool contactmap.IsPredictedContact ( int segment1 , int segment2 ) ]
- If the contact is satisfied ( just like the red/green strands in the user interface when selected )
[example: the existing IsContact call]
Information about bands that is also lacking and would help contact puzzles
- Index number of band between two segments (0 if no band between those segments)
[for example: int band.GetBandBetweenSegments(int segment1, int segment2) ]
- The segments a band is attached to (0 if mid air)
[for example: int band.GetStartSegment(int band) and int band.GetEndSegment(int band)]