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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxD6Drive 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>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxD6Drive Struct Reference<br>
<small>
[<a class="el" href="group__extensions.html">Extensions</a>]</small>
</h1><!-- doxytag: class="PxD6Drive" -->Used to specify which axes of a D6 joint are driven.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxD6Joint_8h-source.html">PxD6Joint.h</a>></code>
<p>
<p>
<a href="structPxD6Drive-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 </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">Enum</a> { <br>
<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e95835773297afb7302224724d84c5f22">eX</a> = 0,
<br>
<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240ef26b1c44e8bd4c6b02fcf347596df579">eY</a> = 1,
<br>
<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240eccdb709aed183ca9f24e8862e352b932">eZ</a> = 2,
<br>
<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e143677ab99bd57647c8e26516bc506a1">eSWING</a> = 3,
<br>
<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240ec8a4639b2d4b210c6c7cf1911a51f695">eTWIST</a> = 4,
<br>
<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240eef5c3032b47761d1567a410150ebb9ad">eSLERP</a> = 5,
<br>
<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240ecfe841117d042bce0bf625b3e22e80cc">eCOUNT</a> = 6
<br>
}</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Used to specify which axes of a D6 joint are driven.
<p>
Each drive is an implicit force-limited damped spring:<p>
force = spring * (target position - position) + damping * (targetVelocity - velocity)<p>
Alternatively, the spring may be configured to generate a specified acceleration instead of a force.<p>
A linear axis is affected by drive only if the corresponding drive flag is set. There are two possible models for angular drive: swing/twist, which may be used to drive one or more angular degrees of freedom, or slerp, which may only be used to drive all three angular degrees simultaneously.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html" title="A D6 joint is a general constraint between two actors.">PxD6Joint</a> </dd></dl>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="08b14ae53dcb83687f9f53580121240e"></a><!-- doxytag: member="PxD6Drive::Enum" ref="08b14ae53dcb83687f9f53580121240e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">PxD6Drive::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="08b14ae53dcb83687f9f53580121240e95835773297afb7302224724d84c5f22"></a><!-- doxytag: member="eX" ref="08b14ae53dcb83687f9f53580121240e95835773297afb7302224724d84c5f22" args="" -->eX</em> </td><td>
drive along the X-axis </td></tr>
<tr><td valign="top"><em><a class="anchor" name="08b14ae53dcb83687f9f53580121240ef26b1c44e8bd4c6b02fcf347596df579"></a><!-- doxytag: member="eY" ref="08b14ae53dcb83687f9f53580121240ef26b1c44e8bd4c6b02fcf347596df579" args="" -->eY</em> </td><td>
drive along the Y-axis </td></tr>
<tr><td valign="top"><em><a class="anchor" name="08b14ae53dcb83687f9f53580121240eccdb709aed183ca9f24e8862e352b932"></a><!-- doxytag: member="eZ" ref="08b14ae53dcb83687f9f53580121240eccdb709aed183ca9f24e8862e352b932" args="" -->eZ</em> </td><td>
drive along the Z-axis </td></tr>
<tr><td valign="top"><em><a class="anchor" name="08b14ae53dcb83687f9f53580121240e143677ab99bd57647c8e26516bc506a1"></a><!-- doxytag: member="eSWING" ref="08b14ae53dcb83687f9f53580121240e143677ab99bd57647c8e26516bc506a1" args="" -->eSWING</em> </td><td>
drive of displacement from the X-axis </td></tr>
<tr><td valign="top"><em><a class="anchor" name="08b14ae53dcb83687f9f53580121240ec8a4639b2d4b210c6c7cf1911a51f695"></a><!-- doxytag: member="eTWIST" ref="08b14ae53dcb83687f9f53580121240ec8a4639b2d4b210c6c7cf1911a51f695" args="" -->eTWIST</em> </td><td>
drive of the displacement around the X-axis </td></tr>
<tr><td valign="top"><em><a class="anchor" name="08b14ae53dcb83687f9f53580121240eef5c3032b47761d1567a410150ebb9ad"></a><!-- doxytag: member="eSLERP" ref="08b14ae53dcb83687f9f53580121240eef5c3032b47761d1567a410150ebb9ad" args="" -->eSLERP</em> </td><td>
drive of all three angular degrees along a SLERP-path </td></tr>
<tr><td valign="top"><em><a class="anchor" name="08b14ae53dcb83687f9f53580121240ecfe841117d042bce0bf625b3e22e80cc"></a><!-- doxytag: member="eCOUNT" ref="08b14ae53dcb83687f9f53580121240ecfe841117d042bce0bf625b3e22e80cc" args="" -->eCOUNT</em> </td><td>
</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="PxD6Joint_8h-source.html">PxD6Joint.h</a></ul>
</div>
<hr style="width: 100%; height: 2px;"><br>
Copyright © 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>
|