<html> <head> <title>OgreRefApp::ApplicationObject::CollisionInfo struct Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>OgreRefApp::ApplicationObject::CollisionInfo Struct Reference</h1>Contains information about a collision; used in the _notifyCollided call. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>></code> <p> <a href="structOgreRefApp_1_1ApplicationObject_1_1CollisionInfo-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>Vector3 </td><td valign=bottom><a class="el" href="structOgreRefApp_1_1ApplicationObject_1_1CollisionInfo.html#OgreRefApp_1_1ApplicationObject_1_1CollisionInfom0">position</a></td></tr> <tr><td> </td><td><font size=-1><em>The position in world coordinates at which the collision occurred.</em> <a href="#OgreRefApp_1_1ApplicationObject_1_1CollisionInfom0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>Vector3 </td><td valign=bottom><a class="el" href="structOgreRefApp_1_1ApplicationObject_1_1CollisionInfo.html#OgreRefApp_1_1ApplicationObject_1_1CollisionInfom1">normal</a></td></tr> <tr><td> </td><td><font size=-1><em>The normal in world coordinates of the collision surface.</em> <a href="#OgreRefApp_1_1ApplicationObject_1_1CollisionInfom1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>Real </td><td valign=bottom><a class="el" href="structOgreRefApp_1_1ApplicationObject_1_1CollisionInfo.html#OgreRefApp_1_1ApplicationObject_1_1CollisionInfom2">penetrationDepth</a></td></tr> <tr><td> </td><td><font size=-1><em>Penetration depth.</em> <a href="#OgreRefApp_1_1ApplicationObject_1_1CollisionInfom2"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Contains information about a collision; used in the _notifyCollided call. <p> <p> Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00263">263</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>.<hr><h2>Member Data Documentation</h2> <a name="OgreRefApp_1_1ApplicationObject_1_1CollisionInfom1" doxytag="OgreRefApp::ApplicationObject::CollisionInfo::normal"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Vector3 OgreRefApp::ApplicationObject::CollisionInfo::normal </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The normal in world coordinates of the collision surface. <p> <p> Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00268">268</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. <p> Referenced by <a class="el" href="OgreRefAppApplicationObject_8cpp-source.html#l00336">OgreRefApp::ApplicationObject::testCollide</a>(), and <a class="el" href="OgreRefAppApplicationObject_8cpp-source.html#l00441">OgreRefApp::ApplicationObject::testCollidePlaneBounds</a>(). </td> </tr> </table> <a name="OgreRefApp_1_1ApplicationObject_1_1CollisionInfom2" doxytag="OgreRefApp::ApplicationObject::CollisionInfo::penetrationDepth"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Real OgreRefApp::ApplicationObject::CollisionInfo::penetrationDepth </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Penetration depth. <p> <p> Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00270">270</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. <p> Referenced by <a class="el" href="OgreRefAppApplicationObject_8cpp-source.html#l00336">OgreRefApp::ApplicationObject::testCollide</a>(), and <a class="el" href="OgreRefAppApplicationObject_8cpp-source.html#l00441">OgreRefApp::ApplicationObject::testCollidePlaneBounds</a>(). </td> </tr> </table> <a name="OgreRefApp_1_1ApplicationObject_1_1CollisionInfom0" doxytag="OgreRefApp::ApplicationObject::CollisionInfo::position"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Vector3 OgreRefApp::ApplicationObject::CollisionInfo::position </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The position in world coordinates at which the collision occurred. <p> <p> Definition at line <a class="el" href="OgreRefAppApplicationObject_8h-source.html#l00266">266</a> of file <a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a>. <p> Referenced by <a class="el" href="OgreRefAppApplicationObject_8cpp-source.html#l00336">OgreRefApp::ApplicationObject::testCollide</a>(), and <a class="el" href="OgreRefAppApplicationObject_8cpp-source.html#l00441">OgreRefApp::ApplicationObject::testCollidePlaneBounds</a>(). </td> </tr> </table> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="OgreRefAppApplicationObject_8h-source.html">OgreRefAppApplicationObject.h</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:21:40 2004 </p> </body> </html>