aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/structPxForceMode.html
blob: 9e69002e652ed3180b82560317509fb670babd6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxForceMode Struct Reference</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
	</head>

	<body bgcolor="#FFFFFF">
		<div id="header">
			<hr class="first">
			<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
			<center>
				<a class="qindex" href="main.html">Main Page</a> &nbsp; 
				<a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; 
				<a class="qindex" href="annotated.html">Compound List</a> &nbsp; 
				<a class="qindex" href="functions.html">Compound Members</a> &nbsp;  
			</center>
			<hr class="second">
		</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxForceMode Struct Reference<br>
<small>
[<a class="el" href="group__physics.html">Physics</a>]</small>
</h1><!-- doxytag: class="PxForceMode" -->Parameter to addForce() and addTorque() calls, determines the exact operation that is carried out.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PxForceMode_8h-source.html">PxForceMode.h</a>&gt;</code>
<p>

<p>
<a href="structPxForceMode-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxForceMode.html#adaaafefe0478d829b816154c676e545">Enum</a> { <br>
&nbsp;&nbsp;<a class="el" href="structPxForceMode.html#adaaafefe0478d829b816154c676e5456e707aa50e1612a2603643ee2df85f1a">eFORCE</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="structPxForceMode.html#adaaafefe0478d829b816154c676e545a3699bd1b7ae178eda5b946097de52c4">eIMPULSE</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="structPxForceMode.html#adaaafefe0478d829b816154c676e5459f25946973fec4c78991859e8bf76376">eVELOCITY_CHANGE</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="structPxForceMode.html#adaaafefe0478d829b816154c676e545d8a356d2419566d7325ce7017c923a50">eACCELERATION</a>
<br>
 }</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Parameter to addForce() and addTorque() calls, determines the exact operation that is carried out. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxRigidBody.html#22b0a1ef0b6c5656a6063c5c38f5679c" title="Applies a force (or impulse) defined in the global coordinate frame to the actor...">PxRigidBody.addForce()</a> <a class="el" href="classPxRigidBody.html#cb04ffc816d45afff2d04e93d7446e79" title="Applies an impulsive torque defined in the global coordinate frame to the actor.">PxRigidBody.addTorque()</a> </dd></dl>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="adaaafefe0478d829b816154c676e545"></a><!-- doxytag: member="PxForceMode::Enum" ref="adaaafefe0478d829b816154c676e545" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="structPxForceMode.html#adaaafefe0478d829b816154c676e545">PxForceMode::Enum</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="adaaafefe0478d829b816154c676e5456e707aa50e1612a2603643ee2df85f1a"></a><!-- doxytag: member="eFORCE" ref="adaaafefe0478d829b816154c676e5456e707aa50e1612a2603643ee2df85f1a" args="" -->eFORCE</em>&nbsp;</td><td>
parameter has unit of mass * distance/ time^2, i.e. a force </td></tr>
<tr><td valign="top"><em><a class="anchor" name="adaaafefe0478d829b816154c676e545a3699bd1b7ae178eda5b946097de52c4"></a><!-- doxytag: member="eIMPULSE" ref="adaaafefe0478d829b816154c676e545a3699bd1b7ae178eda5b946097de52c4" args="" -->eIMPULSE</em>&nbsp;</td><td>
parameter has unit of mass * distance /time </td></tr>
<tr><td valign="top"><em><a class="anchor" name="adaaafefe0478d829b816154c676e5459f25946973fec4c78991859e8bf76376"></a><!-- doxytag: member="eVELOCITY_CHANGE" ref="adaaafefe0478d829b816154c676e5459f25946973fec4c78991859e8bf76376" args="" -->eVELOCITY_CHANGE</em>&nbsp;</td><td>
parameter has unit of distance / time, i.e. the effect is mass independent: a velocity change. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="adaaafefe0478d829b816154c676e545d8a356d2419566d7325ce7017c923a50"></a><!-- doxytag: member="eACCELERATION" ref="adaaafefe0478d829b816154c676e545d8a356d2419566d7325ce7017c923a50" args="" -->eACCELERATION</em>&nbsp;</td><td>
parameter has unit of distance/ time^2, i.e. an acceleration. It gets treated just like a force except the mass is not divided out before integration. </td></tr>
</table>
</dl>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxForceMode_8h-source.html">PxForceMode.h</a></ul>
</div>

<hr style="width: 100%; height: 2px;"><br>
Copyright &copy; 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>