Difference between revisions of "Category:Physics Engine/SegmentQueryInfo"
Jump to navigation
Jump to search
(Created page with "A '''SegmentQueryInfo''' object is a Lua dictionary table with three �fields. '''Key''' '''Value'''<br>shape Shape object found in a query.<br>t &n...") |
|||
Line 1: | Line 1: | ||
− | A '''SegmentQueryInfo''' object is a Lua dictionary table with three | + | A '''SegmentQueryInfo''' object is a Lua dictionary table with three fields. |
+ | <br> '''Key''' '''Value'''<br>shape Shape object found in a query.<br>t Fractional distance (0 .. 1) from the start of the line segment to the intersection of the Shape.<br>n Surface normal vector of the Shape at the intersection point. | ||
− | + | <br>This object also has the following helper routines which convert information in a SegmentQueryInfo object to world coordinates or an absolute distance along the line segment. | |
− | + | [[Category:Physics_Engine]] | |
− | |||
− |
Latest revision as of 13:19, 25 June 2012
A SegmentQueryInfo object is a Lua dictionary table with three fields.
Key Value
shape Shape object found in a query.
t Fractional distance (0 .. 1) from the start of the line segment to the intersection of the Shape.
n Surface normal vector of the Shape at the intersection point.
This object also has the following helper routines which convert information in a SegmentQueryInfo object to world coordinates or an absolute distance along the line segment.
This category currently contains no pages or media.