Changes

Jump to navigation Jump to search

Category:Physics Engine/SegmentQueryInfo

3 bytes added, 14:19, 25 June 2012
no edit summary
Line 1: Line 1: −
A '''SegmentQueryInfo''' object is a Lua dictionary table with three �fields.
+
A '''SegmentQueryInfo''' object is a Lua dictionary table with three fields.  
    +
<br> '''Key''' &nbsp; &nbsp; &nbsp;'''Value'''<br>shape &nbsp; Shape object found in a query.<br>t &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Fractional distance (0 .. 1) from the start of the line segment to the intersection&nbsp;of the Shape.<br>n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Surface normal vector of the Shape at the intersection point.
   −
'''Key''' &nbsp; &nbsp; &nbsp;'''Value'''<br>shape &nbsp; Shape object found in a query.<br>t &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Fractional distance (0 .. 1) from the start of the line segment to the intersection&nbsp;of the Shape.<br>n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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.  
   −
<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]]
 
  −
[[Category:Physics_Engine]]
 

Navigation menu