<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.
01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Mirrored from
www.box2dflash.org/docs/2.1a/reference/Box2D/Collision/b2ContactPoint.html by
HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 May 2018 06:34:58 GMT -->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../print.css" type="text/css" media="print">
<meta
content="b2ContactPoint,Box2D.Collision.b2ContactPoint,friction,id,normal,position,
restitution,separation,shape1,shape2,velocity" name="keywords">
<title>Box2D.Collision.b2ContactPoint</title>
</head>
<body>
<script type="text/javascript" language="javascript"
src="../../asdoc.js"></script><script type="text/javascript" language="javascript"
src="../../cookies.js"></script><script type="text/javascript"
language="javascript">
<!--
asdocTitle = 'b2ContactPoint - Box2DFlash Documentation';
var baseRef = '../../index.html';
window.onload = configPage;
--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0"
class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Box2DFlash Documentation</td><td
align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../all-
classes.html')" href="../../package-summary.html">All Packages</a> |
<a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-
summary.html">All Classes</a> | <a
onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-
A.html">Index</a> | <a
href="../../index4fc8.html?Box2D/Collision/b2ContactPoint.html&Box2D/
Collision/class-list.html" id="framesLink1">Frames</a><a
onclick="parent.location=document.location" href="#" style="display:none"
id="noFramesLink1">No Frames</a></td><td rowspan="3" align="right"
class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage"
src="../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle"
class="titleTableSubTitle">Class b2ContactPoint</td><td align="right"
id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2"> </td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME)
{titleBar_setSubTitle("Class b2ContactPoint");
titleBar_setSubNav(false,true,false,false,false,false,false,false,false,false,false
,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a
onclick="javascript:loadClassListFrame('class-list.html')" href="package-
detail.html">Box2D.Collision</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class
b2ContactPoint</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Source</td><td><a
href="http://box2dflash.svn.sourceforge.net/viewvc/box2dflash/Source/Box2D/
Collision/b2ContactPoint.as">b2ContactPoint.as</a></td>
</tr>
</table>
<p></p>
This structure is used to report contact points.
<p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3"
cellspacing="0">
<tr>
<th> </th><th colspan="2">Property</th><th
class="summaryTableOwnerCol">Defined by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink"
href="#friction">friction</a> : Number<div class="summaryTableDescription"> The
combined friction coefficient </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink" href="#id">id</a> : <a
href="b2ContactID.html">b2ContactID</a>
<div class="summaryTableDescription"> The contact id identifies the features in
contact </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink" href="#normal">normal</a>
: <a href="../Common/Math/b2Vec2.html">b2Vec2</a>
<div class="summaryTableDescription"> Points from shape1 to shape2 </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink"
href="#position">position</a> : <a href="../Common/Math/b2Vec2.html">b2Vec2</a>
<div class="summaryTableDescription"> Position in world coordinates </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink"
href="#restitution">restitution</a> : Number<div class="summaryTableDescription">
The combined restitution coefficient </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink"
href="#separation">separation</a> : Number<div class="summaryTableDescription"> The
separation is negative when shapes are touching </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink" href="#shape1">shape1</a>
: <a href="Shapes/b2Shape.html">b2Shape</a>
<div class="summaryTableDescription"> The first shape </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink" href="#shape2">shape2</a>
: <a href="Shapes/b2Shape.html">b2Shape</a>
<div class="summaryTableDescription"> The second shape </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol"> </td><td
class="summaryTableInheritanceCol"> </td><td
class="summaryTableSignatureCol"><a class="signatureLink"
href="#velocity">velocity</a> : <a href="../Common/Math/b2Vec2.html">b2Vec2</a>
<div class="summaryTableDescription"> Velocity of point on body2 relative to point
on body1 (pre-solver) </div>
</td><td class="summaryTableOwnerCol">b2ContactPoint</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="friction"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">friction</td><td
class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>public var friction:Number</code><p> The combined friction coefficient
</p></div>
<a name="id"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">id</td><td class="detailHeaderType">property</td><td
class="detailHeaderRule"> </td>
</tr>
</table>
<div class="detailBody">
<code>public var id:<a href="b2ContactID.html">b2ContactID</a></code><p> The
contact id identifies the features in contact </p></div>
<a name="normal"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">normal</td><td
class="detailHeaderType">property</td><td class="detailHeaderRule"> </td>
</tr>
</table>
<div class="detailBody">
<code>public var normal:<a href="../Common/Math/b2Vec2.html">b2Vec2</a></code><p>
Points from shape1 to shape2 </p></div>
<a name="position"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">position</td><td
class="detailHeaderType">property</td><td class="detailHeaderRule"> </td>
</tr>
</table>
<div class="detailBody">
<code>public var position:<a href="../Common/Math/b2Vec2.html">b2Vec2</a></code><p>
Position in world coordinates </p></div>
<a name="restitution"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">restitution</td><td
class="detailHeaderType">property</td><td class="detailHeaderRule"> </td>
</tr>
</table>
<div class="detailBody">
<code>public var restitution:Number</code><p> The combined restitution coefficient
</p></div>
<a name="separation"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">separation</td><td
class="detailHeaderType">property</td><td class="detailHeaderRule"> </td>
</tr>
</table>
<div class="detailBody">
<code>public var separation:Number</code><p> The separation is negative when shapes
are touching </p></div>
<a name="shape1"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">shape1</td><td
class="detailHeaderType">property</td><td class="detailHeaderRule"> </td>
</tr>
</table>
<div class="detailBody">
<code>public var shape1:<a href="Shapes/b2Shape.html">b2Shape</a></code><p> The
first shape </p></div>
<a name="shape2"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">shape2</td><td
class="detailHeaderType">property</td><td class="detailHeaderRule"> </td>
</tr>
</table>
<div class="detailBody">
<code>public var shape2:<a href="Shapes/b2Shape.html">b2Shape</a></code><p> The
second shape </p></div>
<a name="velocity"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">velocity</td><td
class="detailHeaderType">property</td><td class="detailHeaderRule"> </td>
</tr>
</table>
<div class="detailBody">
<code>public var velocity:<a href="../Common/Math/b2Vec2.html">b2Vec2</a></code><p>
Velocity of point on body2 relative to point on body1 (pre-solver) </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">Box2DFlash 2.1a</center>
</div>
</body>
<!-- Mirrored from
www.box2dflash.org/docs/2.1a/reference/Box2D/Collision/b2ContactPoint.html by
HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 May 2018 06:34:58 GMT -->
</html>
<!--Box2DFlash 2.1a-->